Skip to content

Instantly share code, notes, and snippets.

@sebug sebug/Dockerfile
Created Dec 16, 2017

Embed
What would you like to do?
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y \
curl \
firefox \
python2.7 \
python-pip \
&& pip install selenium
RUN curl -L -O "https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz" && tar zxf geckodriver-v0.19.1-linux64.tar.gz
ENV my_test_script=bcom-test.py
ENV PYTHONIOENCODING=utf-8
COPY ${my_test_script} /
CMD "/${my_test_script}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.