mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-02 04:04:26 -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"]
|
21
test-containers/mariadb103-py39-mysqlclient203/Dockerfile
Normal file
21
test-containers/mariadb103-py39-mysqlclient203/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mariadb-client-10.3
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.9-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.9 \
|
||||
python3.9-dev \
|
||||
mariadb-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.9 -m pip install --disable-pip-version-check --no-cache-dir mysqlclient==2.0.3
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/mariadb103-py39-pymysql093/Dockerfile
Normal file
15
test-containers/mariadb103-py39-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.9 \
|
||||
mariadb-client \
|
||||
iproute2
|
||||
|
||||
RUN python3.9 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.9.3
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
21
test-containers/mariadb106-py310-mysqlclient211/Dockerfile
Normal file
21
test-containers/mariadb106-py310-mysqlclient211/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu2204-test-container:main
|
||||
# ubuntu2204 comes with mariadb-client-10.6
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.10-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.10 \
|
||||
python3.10-dev \
|
||||
mariadb-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.10 -m pip install --disable-pip-version-check --no-cache-dir mysqlclient==2.1.1
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/mariadb106-py310-pymysql093/Dockerfile
Normal file
15
test-containers/mariadb106-py310-pymysql093/Dockerfile
Normal file
|
@ -0,0 +1,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 update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.10 \
|
||||
mariadb-client \
|
||||
iproute2
|
||||
|
||||
RUN python3.10 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.9.3
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/mariadb106-py310-pymysql102/Dockerfile
Normal file
15
test-containers/mariadb106-py310-pymysql102/Dockerfile
Normal file
|
@ -0,0 +1,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 update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt 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"]
|
21
test-containers/my57-py38-mysqlclient201/Dockerfile
Normal file
21
test-containers/my57-py38-mysqlclient201/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu1804-test-container:main
|
||||
# ubuntu1804 comes with mysql-client-5.7
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.8-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.8 \
|
||||
python3.8-dev \
|
||||
mysql-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.8 -m pip install --disable-pip-version-check --no-cache-dir mysqlclient==2.0.1
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
21
test-containers/my57-py38-pymysql0711/Dockerfile
Normal file
21
test-containers/my57-py38-pymysql0711/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu1804-test-container:main
|
||||
# ubuntu1804 comes with mysql-client-5.7
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.8-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.8 \
|
||||
python3.8-dev \
|
||||
mysql-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.8 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.7.11
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/my57-py38-pymysql093/Dockerfile
Normal file
15
test-containers/my57-py38-pymysql093/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM quay.io/ansible/ubuntu1804-test-container:main
|
||||
# ubuntu1804 comes with mysql-client-5.7
|
||||
|
||||
# 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 \
|
||||
mysql-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"]
|
21
test-containers/my80-py310-mysqlclient211/Dockerfile
Normal file
21
test-containers/my80-py310-mysqlclient211/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu2204-test-container:main
|
||||
# ubuntu2204 comes with mysql-client-8
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.10-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.10 \
|
||||
python3.10-dev \
|
||||
mysql-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.10 -m pip install --disable-pip-version-check --no-cache-dir mysqlclient==2.1.1
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/my80-py310-pymysql093/Dockerfile
Normal file
15
test-containers/my80-py310-pymysql093/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM quay.io/ansible/ubuntu2204-test-container:main
|
||||
# ubuntu2204 comes with mysql-client-8
|
||||
|
||||
# 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.10 \
|
||||
mysql-client \
|
||||
iproute2
|
||||
|
||||
RUN python3.10 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.9.3
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/my80-py310-pymysql102/Dockerfile
Normal file
15
test-containers/my80-py310-pymysql102/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM quay.io/ansible/ubuntu2204-test-container:main
|
||||
# ubuntu2204 comes with mysql-client-8
|
||||
|
||||
# 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.10 \
|
||||
mysql-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"]
|
21
test-containers/my80-py38-mysqlclient201/Dockerfile
Normal file
21
test-containers/my80-py38-mysqlclient201/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mysql-client-8
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.8-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.8 \
|
||||
python3.8-dev \
|
||||
mysql-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.8 -m pip install --disable-pip-version-check --no-cache-dir mysqlclient==2.0.1
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
21
test-containers/my80-py38-pymysql0711/Dockerfile
Normal file
21
test-containers/my80-py38-pymysql0711/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mysql-client-8
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.8-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.8 \
|
||||
python3.8-dev \
|
||||
mysql-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.8 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.7.11
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/my80-py38-pymysql093/Dockerfile
Normal file
15
test-containers/my80-py38-pymysql093/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mysql-client-8
|
||||
|
||||
# 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 \
|
||||
mysql-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"]
|
21
test-containers/my80-py39-mysqlclient203/Dockerfile
Normal file
21
test-containers/my80-py39-mysqlclient203/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mysql-client-8
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.9-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.9 \
|
||||
python3.9-dev \
|
||||
mysql-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.9 -m pip install --disable-pip-version-check --no-cache-dir mysqlclient==2.0.3
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
21
test-containers/my80-py39-pymysql0711/Dockerfile
Normal file
21
test-containers/my80-py39-pymysql0711/Dockerfile
Normal file
|
@ -0,0 +1,21 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mysql-client-8
|
||||
|
||||
# iproute2 # To grab docker network gateway address
|
||||
# python3.9-dev # Reqs for mysqlclient
|
||||
# default-libmysqlclient-dev # Reqs for mysqlclient
|
||||
# build-essential # Reqs for mysqlclient
|
||||
RUN apt update -y && \
|
||||
DEBIAN_FRONTEND=noninteractive apt upgrade -y --no-install-recommends && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
|
||||
python3.9 \
|
||||
python3.9-dev \
|
||||
mysql-client \
|
||||
iproute2 \
|
||||
default-libmysqlclient-dev \
|
||||
build-essential
|
||||
|
||||
RUN python3.9 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.7.11
|
||||
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
15
test-containers/my80-py39-pymysql093/Dockerfile
Normal file
15
test-containers/my80-py39-pymysql093/Dockerfile
Normal file
|
@ -0,0 +1,15 @@
|
|||
FROM quay.io/ansible/ubuntu2004-test-container:main
|
||||
# ubuntu2004 comes with mysql-client-8
|
||||
|
||||
# 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.9 \
|
||||
mysql-client \
|
||||
iproute2
|
||||
|
||||
RUN python3.9 -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