mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-23 10:51:25 -07:00
Attempt to build and publish an image on ghcr.io
This commit is contained in:
parent
6bc293a022
commit
a849f92e2e
2 changed files with 125 additions and 0 deletions
21
test-containers/mariadb103-py38-mysqlclient201/Dockerfile
Normal file
21
test-containers/mariadb103-py38-mysqlclient201/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.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 \
|
||||
mariadb-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"]
|
Loading…
Add table
Add a link
Reference in a new issue