Mercurial > public > ssdt-docker
view testbench-node/Dockerfile @ 343:b8373a99ad4d production
testbench updates
author | aldrich@ssdt-ohio.org |
---|---|
date | Wed, 20 May 2020 13:58:02 +0100 |
parents | 3eaeb138e1ae |
children | 4598330892d2 |
line wrap: on
line source
FROM java:8-jre MAINTAINER Catherine Aldrich <aldrich@ssdt-ohio.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 RUN apt-get update - RUN mkdir /chromeinstall ADD google-chrome-stable_current_amd64.deb /chromeinstall/google-chrome-stable_current_amd64.deb RUN apt install -y /chromeinstall/google-chrome-stable_current_amd64.deb RUN apt-get install -y chromium-chromedriver ADD http://files.ssdt.io/vaadin-testbench-standalone-5.1.2.jar $TESTBENCHJAR WORKDIR / COPY ./docker-entrypoint.sh / RUN chmod a+x /docker-entrypoint.sh ENTRYPOINT [ "./docker-entrypoint.sh" ] CMD [ "node" ]