Created
December 16, 2017 17:09
-
-
Save sebug/29db93e8832fe42f6aea78fd73b5f271 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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