mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-24 19:31:30 -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 \
|
||||
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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue