Skip to content

Instantly share code, notes, and snippets.

@MatteoPierro
Last active March 21, 2018 19:16
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 MatteoPierro/b03056bf3a36985e7f5df911ccf5cbe5 to your computer and use it in GitHub Desktop.
Save MatteoPierro/b03056bf3a36985e7f5df911ccf5cbe5 to your computer and use it in GitHub Desktop.
maven container with Web Driver for Selenium
FROM maven:3.5.3-jdk-8
COPY *.deb /tmp/
RUN dpkg -i /tmp/fonts-liberation.deb \
/tmp/libdbusmenu-glib4.deb \
/tmp/libdbusmenu-gtk4.deb \
/tmp/libindicator7.deb \
/tmp/libappindicator1.deb \
/tmp/libxss1.deb \
/tmp/distro-info-data.deb \
/tmp/libpython3.5-minimal.deb \
/tmp/python3.5-minimal.deb \
/tmp/python3-minimal.deb \
/tmp/libmpdec2.deb \
/tmp/libpython3.5-stdlib.deb \
/tmp/python3.5.deb \
/tmp/libpython3-stdlib.deb && \
dpkg -i /tmp/python3.deb \
/tmp/dh-python.deb \
/tmp/lsb-release.deb \
/tmp/xdg-utils.deb \
/tmp/google-chrome.deb && \
rm -rf /tmp/*.deb
COPY chromedriver /usr/bin/chromedriver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment