summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/mysql/test-containers/mariadb-py310-pymysql102/Dockerfile
blob: afe6a77cb559207894e9986baaf698ed9cd28a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM quay.io/ansible/ubuntu2204-test-container:main
# ubuntu2204 comes with mariadb-client-10.6

# 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.10 \
    mariadb-client \
    iproute2

RUN python3.10 -m pip install --disable-pip-version-check --no-cache-dir pymysql==1.0.2

ENV container=docker
CMD ["/sbin/init"]