mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-06-19 06:40:23 -07:00
Change docker-image workflow to work on all images using matrix
This commit is contained in:
parent
fbbb7003dc
commit
9fd0d8b202
20 changed files with 410 additions and 108 deletions
15
test-containers/mariadb103-py38-pymysql093/Dockerfile
Normal file
15
test-containers/mariadb103-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 update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt 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