Add driver for MySQL

This commit is contained in:
2019-06-08 10:28:28 +02:00
parent 6d265cd70f
commit bb41a7cb37
+8 -3
View File
@@ -1,6 +1,6 @@
FROM python:2.7.14
LABEL maintainer="Joakim Olsson <jonas@unbound.se>"
LABEL maintainer="Joakim Olsson <joakim@unbound.se>"
LABEL description="Base image for running Robot Framework test suites in Docker. \
\
The image cotains the following Robot Framework libraries:\
@@ -11,11 +11,16 @@ LABEL description="Base image for running Robot Framework test suites in Docker.
- Selenium2 library - Keywords for cross browser tests\
\
Drivers:\
- psycopg2 - Python driver for Postgres"
- psycopg2 - Python driver for Postgres \
- PyMySQL - Python driver for MySQL"
RUN pip install \
RUN apt-get update && \
apt-get -y install jq && \
rm -r /var/lib/apt/lists/* && \
pip install \
urllib3==1.22 \
psycopg2-binary \
PyMySQL \
robotframework \
robotframework-appiumlibrary \
robotframework-databaselibrary==1.1.1 \