annotate testbench-node/Dockerfile @ 336:dfae5707657d

testing remote
author aldrich
date Fri, 07 Feb 2020 16:27:11 +0000
parents 3eaeb138e1ae
children b8373a99ad4d 731a1492c8a0
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
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
3 MAINTAINER Dave Smith <smith@nwoca.org>
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
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
11 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
12
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
13 RUN tar -xf phantomjs.tar \
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
14 && mv $(find /phantom -name phantomjs) /bin \
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
15 && rm -rf /phantom
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
16
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
17 ADD http://files.ssdt.io/vaadin-testbench-standalone-4.0.3.jar $TESTBENCHJAR
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
18
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
19 WORKDIR /
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
20
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
21 COPY ./docker-entrypoint.sh /
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
22
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
23 RUN chmod a+x /docker-entrypoint.sh
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
24
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
25 ENTRYPOINT [ "./docker-entrypoint.sh" ]
0f366721a499 add dockerfiles for testbench grid
smith@nwoca.org
parents:
diff changeset
26
78
3eaeb138e1ae add default command
smith@nwoca.org
parents: 77
diff changeset
27 CMD [ "node" ]