Browse Source

proper python mysql package install

clementinecomputing 5 years ago
parent
commit
2bb0fad55f
1 changed files with 3 additions and 2 deletions
  1. 3 2
      server/docker/Dockerfile

+ 3 - 2
server/docker/Dockerfile

@@ -12,14 +12,15 @@ RUN \
     sudo \
     sudo \
     git openssh-server sqlite3 libdbd-sqlite3-perl \
     git openssh-server sqlite3 libdbd-sqlite3-perl \
     default-mysql-server apache2 \
     default-mysql-server apache2 \
-    netcat telnet wget python3-flask python3-pymysql python3-pip \
+    netcat telnet wget \
+    python3-flask python3-pymysql python3-pip \
     mariadb-server
     mariadb-server
 
 
 RUN \
 RUN \
   apt-get install -y libswitch-perl libdate-calc-perl python3-bson python3-pymongo
   apt-get install -y libswitch-perl libdate-calc-perl python3-bson python3-pymongo
 
 
 RUN \
 RUN \
-  pip3 install flask-restful
+  pip3 install flask-restful mysql-connector-python
 
 
 RUN \
 RUN \
   useradd -m bus && \
   useradd -m bus && \