Skip to content

Instantly share code, notes, and snippets.

@sebug
Created December 16, 2017 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebug/29db93e8832fe42f6aea78fd73b5f271 to your computer and use it in GitHub Desktop.
Save sebug/29db93e8832fe42f6aea78fd73b5f271 to your computer and use it in GitHub Desktop.
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