mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-07-27 23:21:27 -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
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"]
|
Loading…
Add table
Add a link
Reference in a new issue