Mercurial > public > ssdt-docker
view testbench-node/Dockerfile @ 157:018f62da1931
DEP-12: add docker version. prevent pulling updates for dangling images
author | smith@nwoca.org |
---|---|
date | Mon, 31 Jul 2017 20:49:53 +0100 |
parents | 3eaeb138e1ae |
children | b8373a99ad4d 731a1492c8a0 |
line wrap: on
line source
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" ]