File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM java:openjdk-8-jdk
2+
3+ RUN echo "deb http://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list
4+
5+ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
6+
7+ RUN apt-get update && apt-get install -y --no-install-recommends unzip bash openssh-client nodejs git ca-certificates fontconfig xvfb libpango1.0-0 libxss1 fonts-liberation libappindicator1 xdg-utils libgtk-3-0 lsb-release sbt && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/nodejs /usr/bin/node
8+
9+ RUN sbt sbtVersion
10+
11+ ENV PHANTOM_JS phantomjs-2.1.1-linux-x86_64
12+
13+ RUN cd /opt \
14+ && wget https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOM_JS.tar.bz2 \
15+ && tar xvjf $PHANTOM_JS.tar.bz2 \
16+ && mv $PHANTOM_JS /usr/local/share \
17+ && ln -sf /usr/local/share/$PHANTOM_JS/bin/phantomjs /usr/local/bin
18+
19+ RUN cd /opt \
20+ && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
21+ && dpkg -i google-chrome-stable_current_amd64.deb
22+
23+ RUN cd /opt \
24+ && wget https://chromedriver.storage.googleapis.com/2.34/chromedriver_linux64.zip \
25+ && unzip chromedriver_linux64.zip
26+
27+ VOLUME /src
You can’t perform that action at this time.
0 commit comments