comparison testbench-node/Dockerfile @ 77:0f366721a499

add dockerfiles for testbench grid
author smith@nwoca.org
date Sat, 26 Mar 2016 15:34:28 +0100
parents
children 3eaeb138e1ae
comparison
equal deleted inserted replaced
76:aacc99e52f5e 77:0f366721a499
1 FROM java:8-jre
2
3 MAINTAINER Dave Smith <smith@nwoca.org>
4
5 ENV TESTBENCHJAR=/testbench-standalone.jar
6
7 RUN mkdir /phantom
8
9 WORKDIR /phantom
10
11 ADD http://files.ssdt.io/phantomjs-2.1.1-linux-x86_64.tar /phantom/phantomjs.tar
12
13 RUN tar -xf phantomjs.tar \
14 && mv $(find /phantom -name phantomjs) /bin \
15 && rm -rf /phantom
16
17 ADD http://files.ssdt.io/vaadin-testbench-standalone-4.0.3.jar $TESTBENCHJAR
18
19 WORKDIR /
20
21 COPY ./docker-entrypoint.sh /
22
23 RUN chmod a+x /docker-entrypoint.sh
24
25 ENTRYPOINT [ "./docker-entrypoint.sh" ]
26
27 #CMD [ "node" ]