comparison testbench-node/Dockerfile @ 343:b8373a99ad4d production

testbench updates
author aldrich@ssdt-ohio.org
date Wed, 20 May 2020 13:58:02 +0100
parents 3eaeb138e1ae
children 4598330892d2
comparison
equal deleted inserted replaced
342:27ae05ebfc1a 343:b8373a99ad4d
1 FROM java:8-jre 1 FROM java:8-jre
2 2
3 MAINTAINER Dave Smith <smith@nwoca.org> 3 MAINTAINER Catherine Aldrich <aldrich@ssdt-ohio.org>
4 4
5 ENV TESTBENCHJAR=/testbench-standalone.jar 5 ENV TESTBENCHJAR=/testbench-standalone.jar
6 6
7 RUN mkdir /phantom 7 RUN mkdir /phantom
8 8
9 WORKDIR /phantom 9 WORKDIR /phantom
10 10
11
12
11 ADD http://files.ssdt.io/phantomjs-2.1.1-linux-x86_64.tar /phantom/phantomjs.tar 13 ADD http://files.ssdt.io/phantomjs-2.1.1-linux-x86_64.tar /phantom/phantomjs.tar
12 14
13 RUN tar -xf phantomjs.tar \ 15 RUN tar -xf phantomjs.tar \
14 && mv $(find /phantom -name phantomjs) /bin \ 16 && mv $(find /phantom -name phantomjs) /bin \
15 && rm -rf /phantom 17 && rm -rf /phantom
18
19 RUN apt-get update -
16 20
17 ADD http://files.ssdt.io/vaadin-testbench-standalone-4.0.3.jar $TESTBENCHJAR 21 RUN mkdir /chromeinstall
22
23 ADD google-chrome-stable_current_amd64.deb /chromeinstall/google-chrome-stable_current_amd64.deb
24
25 RUN apt install -y /chromeinstall/google-chrome-stable_current_amd64.deb
26
27
28 RUN apt-get install -y chromium-chromedriver
29
30
31 ADD http://files.ssdt.io/vaadin-testbench-standalone-5.1.2.jar $TESTBENCHJAR
18 32
19 WORKDIR / 33 WORKDIR /
20 34
21 COPY ./docker-entrypoint.sh / 35 COPY ./docker-entrypoint.sh /
22 36