Skip to content

Instantly share code, notes, and snippets.

@marcosnils marcosnils/Dockerfile
Last active Feb 23, 2018

Embed
What would you like to do?
Dockerfile to run selenium headless tests
FROM debian:jessie
RUN apt update && apt install -y firefox-esr \
&& wget https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz \
&& tar -C /usr/bin/ -xvf geckodriver-v0.19.1-linux64.tar.gz && rm geckodriver-v0.19.1-linux64.tar.gz \
&& wget https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-60.0a1.en-US.linux-x86_64.tar.bz2 \
&& tar -C /opt/ -xvf firefox-60.0a1.en-US.linux-x86_64.tar.bz2 \
&& rm /usr/bin/firefox && ln -s /opt/firefox/firefox /usr/bin/firefox
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.