FROM python:2.7.14

LABEL maintainer="Joakim Olsson <jonas@unbound.se>"
LABEL description="Base image for running Robot Framework test suites in Docker. \
    \
    The image cotains the following Robot Framework libraries:\
    - Appium library - Keywords for Android & IOS device UI tests \
    - Database library - Keywords for SQL queries & statements \
    - HTTP library - Keywords for HTTP & Rest \
    - RabbitMQ library - Keywords for Rabbit MQ \
    - Selenium2 library - Keywords for cross browser tests\
    \
    Drivers:\
    - psycopg2 - Python driver for Postgres"

RUN pip install \
        urllib3==1.22 \
        psycopg2-binary \
        robotframework \
        robotframework-appiumlibrary \
        robotframework-databaselibrary==1.1.1 \
        robotframework-httplibrary \
        robotframework-rabbitmq \
        robotframework-selenium2library
