mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-21 09:51:31 -07:00
Draft: Cut necessity to specify docker image
This commit is contained in:
parent
22bba000d6
commit
5145b3868e
41 changed files with 504 additions and 476 deletions
15
test-containers/mariadb-py38-pymysql093/Dockerfile
Normal file
15
test-containers/mariadb-py38-pymysql093/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mariadb-client-10.3
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
RUN apt-get update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
python3.8 \
|
||||
mariadb-client \
|
||||
iproute2
|
||||
|
||||
RUN python3.8 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.9.3
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
Loading…
Add table
Add a link
Reference in a new issue