From cc6fdb32a44babcbc0891a42dcc894d965dc41d2 Mon Sep 17 00:00:00 2001 From: Laurent Indermuehle Date: Mon, 23 Jan 2023 08:31:35 +0100 Subject: [PATCH] Fix missing cffi package to connect to MySQL 8 using Python 3.9 --- test-containers/my80-py39-pymysql093/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-containers/my80-py39-pymysql093/Dockerfile b/test-containers/my80-py39-pymysql093/Dockerfile index 76e631f..67caa18 100644 --- a/test-containers/my80-py39-pymysql093/Dockerfile +++ b/test-containers/my80-py39-pymysql093/Dockerfile @@ -9,7 +9,8 @@ RUN apt update -y && \ mysql-client \ iproute2 -RUN python3.9 -m pip install --disable-pip-version-check --no-cache-dir pymysql==0.9.3 +# cffi # To connect to MySQL 8 with Python3.9 and PyMySQL +RUN python3.9 -m pip install --disable-pip-version-check --no-cache-dir cffi pymysql==0.9.3 ENV container=docker CMD ["/sbin/init"]