Mercurial > public > ssdt-docker
view testbench-node/Dockerfile @ 353:77395e33726a production
Added tag v2.8.1 for changeset 180476e1555b
author | aldrich@ssdt-ohio.org |
---|---|
date | Wed, 20 May 2020 15:58:47 +0100 |
parents | 4598330892d2 |
children | c0ec7a1b1836 |
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" ]