mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-25 03:41:26 -07:00
Fix missing cffi package to connect to MySQL 8 using Python 3.9
This commit is contained in:
parent
37e5c71366
commit
cc6fdb32a4
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ RUN apt update -y && \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
iproute2
|
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
|
ENV container=docker
|
||||||
CMD ["/sbin/init"]
|
CMD ["/sbin/init"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue