Draft: Cut necessity to specify docker image

This commit is contained in:
Laurent Indermuehle 2023-03-22 17:59:58 +01:00
parent 22bba000d6
commit 5145b3868e
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
41 changed files with 504 additions and 476 deletions

View 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"]