Mercurial > public > ssdt-docker
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testbench-node/Dockerfile Sat Mar 26 15:34:28 2016 +0100 @@ -0,0 +1,27 @@ +FROM java:8-jre + +MAINTAINER Dave Smith <smith@nwoca.org> + +ENV TESTBENCHJAR=/testbench-standalone.jar + +RUN mkdir /phantom + +WORKDIR /phantom + +ADD http://files.ssdt.io/phantomjs-2.1.1-linux-x86_64.tar /phantom/phantomjs.tar + +RUN tar -xf phantomjs.tar \ + && mv $(find /phantom -name phantomjs) /bin \ + && rm -rf /phantom + +ADD http://files.ssdt.io/vaadin-testbench-standalone-4.0.3.jar $TESTBENCHJAR + +WORKDIR / + +COPY ./docker-entrypoint.sh / + +RUN chmod a+x /docker-entrypoint.sh + +ENTRYPOINT [ "./docker-entrypoint.sh" ] + +#CMD [ "node" ]