Cut test MySQL 8 with incompatible pymysql 0.7.11

It fails to connect with error about cryptography unsupported
This commit is contained in:
Laurent Indermuehle 2023-01-20 18:43:14 +01:00
commit 20965d2fa2
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
3 changed files with 1 additions and 33 deletions

View file

@ -1,21 +0,0 @@
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"]