Add driver for MySQL
This commit is contained in:
+8
-3
@@ -1,6 +1,6 @@
|
|||||||
FROM python:2.7.14
|
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. \
|
LABEL description="Base image for running Robot Framework test suites in Docker. \
|
||||||
\
|
\
|
||||||
The image cotains the following Robot Framework libraries:\
|
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\
|
- Selenium2 library - Keywords for cross browser tests\
|
||||||
\
|
\
|
||||||
Drivers:\
|
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 \
|
urllib3==1.22 \
|
||||||
psycopg2-binary \
|
psycopg2-binary \
|
||||||
|
PyMySQL \
|
||||||
robotframework \
|
robotframework \
|
||||||
robotframework-appiumlibrary \
|
robotframework-appiumlibrary \
|
||||||
robotframework-databaselibrary==1.1.1 \
|
robotframework-databaselibrary==1.1.1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user