Created
March 17, 2015 20:45
-
-
Save jeato/c006e1306e4ba8a01cd5 to your computer and use it in GitHub Desktop.
selenium/base Dockerfile
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 | |
ENV VERSION 2.44.0 | |
RUN apt-get update -qqy \ | |
&& apt-get -qqy --no-install-recommends install \ | |
software-properties-common \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN add-apt-repository -y ppa:webupd8team/java | |
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections | |
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections | |
RUN apt-get update -qqy \ | |
&& apt-get -qqy --no-install-recommends install \ | |
oracle-java7-installer \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN wget http://selenium-release.storage.googleapis.com/${VERSION%.*}/selenium-server-standalone-${VERSION}.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environmental vars like** $HUB_1_PORT_4444_TCP_ADDR** are set automatically by Fig (now called Docker-Compose). You can read more about which ones are available here. Things have changed a bit since I wrote this post, and it's no longer the recommended way to connect different Docker containers. Instead, I'd use Docker's link feature to link them in the docker-compose.yml file