annotate testbench-node/Dockerfile @ 353:77395e33726a production

Added tag v2.8.1 for changeset 180476e1555b
author aldrich@ssdt-ohio.org
date Wed, 20 May 2020 15:58:47 +0100
parents 4598330892d2
children c0ec7a1b1836
rev   line source
77
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
1 FROM java:8-jre
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
2
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
3 MAINTAINER Catherine Aldrich <aldrich@ssdt-ohio.org>
77
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
4
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
5 ENV TESTBENCHJAR=/testbench-standalone.jar
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
6
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
7 RUN mkdir /phantom
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
8
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
9 WORKDIR /phantom
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
10
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
11
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
12
77
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
13 ADD http://files.ssdt.io/phantomjs-2.1.1-linux-x86_64.tar /phantom/phantomjs.tar
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
14
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
15 RUN tar -xf phantomjs.tar \
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
16 && mv $(find /phantom -name phantomjs) /bin \
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
17 && rm -rf /phantom
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
18
343
b8373a99ad4d testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
19 RUN apt-get update -
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
20
343
b8373a99ad4d testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
21 RUN mkdir /chromeinstall
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
22
343
b8373a99ad4d testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
23 ADD google-chrome-stable_current_amd64.deb /chromeinstall/google-chrome-stable_current_amd64.deb
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
24
343
b8373a99ad4d testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
25 RUN apt install -y /chromeinstall/google-chrome-stable_current_amd64.deb
b8373a99ad4d testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
26
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
27
343
b8373a99ad4d testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
28 RUN apt-get install -y chromium-chromedriver
b8373a99ad4d testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
29
344
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
30
731a1492c8a0 testbench updates
aldrich@ssdt-ohio.org
parents: 78
diff changeset
31 ADD http://files.ssdt.io/vaadin-testbench-standalone-5.1.2.jar $TESTBENCHJAR
77
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
32
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
33 WORKDIR /
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
34
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
35 COPY ./docker-entrypoint.sh /
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
36
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
37 RUN chmod a+x /docker-entrypoint.sh
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
38
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
39 ENTRYPOINT [ "./docker-entrypoint.sh" ]
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
40
78
3eaeb138e1ae add default command
smith@nwoca.org
parents: 77
diff changeset
41 CMD [ "node" ]