77
|
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" ]
|