comparison testbench-node/Dockerfile @ 344:731a1492c8a0

testbench updates
author aldrich@ssdt-ohio.org
date Wed, 20 May 2020 15:48:31 +0100
parents 3eaeb138e1ae
children 4598330892d2 2e65334684d8
comparison
equal deleted inserted replaced
340:c7173920ecaf 344:731a1492c8a0
1 FROM java:8-jre 1 FROM openjdk:8
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
16 19
17 ADD http://files.ssdt.io/vaadin-testbench-standalone-4.0.3.jar $TESTBENCHJAR 20 RUN apt-get update -y
21
22 WORKDIR /
23 ##Chrome
24 ADD http://files.ssdt.io/google-chrome-stable_current_amd64.deb .
25
26 RUN apt install -y ./google-chrome-stable_current_amd64.deb
27
28 RUN rm -rf google-chrome-stable_current_amd64.deb
29
30 ##Chromium driver (apt-get did notwork)
31 ADD http://files.ssdt.io/chromedriver_linux64.zip .
32 RUN unzip chromedriver_linux64.zip -d /
33 RUN mv -f /chromedriver /usr/local/bin/chromedriver
34 RUN chmod 0755 /usr/local/bin/chromedriver
35
36 RUN rm -f /chromedriver_linux64
37 ##for testing purposes check versions
38 RUN google-chrome --version
39 RUN chromedriver --version
40
41 ADD http://files.ssdt.io/vaadin-testbench-standalone-5.1.2.jar $TESTBENCHJAR
18 42
19 WORKDIR / 43 WORKDIR /
20 44
21 COPY ./docker-entrypoint.sh / 45 COPY ./docker-entrypoint.sh /
22 46