Mercurial > public > ssdt-docker
comparison testbench-node/Dockerfile @ 354:c0ec7a1b1836 production
testing
author | aldrich@ssdt-ohio.org |
---|---|
date | Wed, 20 May 2020 16:04:28 +0100 |
parents | 4598330892d2 |
children | 50e99c5b33af |
comparison
equal
deleted
inserted
replaced
353:77395e33726a | 354:c0ec7a1b1836 |
---|---|
1 FROM java:8-jre | 1 FROM openjdk:8 |
2 | 2 |
3 MAINTAINER Catherine Aldrich <aldrich@ssdt-ohio.org> | 3 MAINTAINER Catherine Aldrich <aldrich@ssdt-ohio.org> |
4 | 4 |
5 ENV TESTBENCHJAR=/testbench-standalone.jar | 5 ENV TESTBENCHJAR=/testbench-standalone.jar |
6 | 6 |
14 | 14 |
15 RUN tar -xf phantomjs.tar \ | 15 RUN tar -xf phantomjs.tar \ |
16 && mv $(find /phantom -name phantomjs) /bin \ | 16 && mv $(find /phantom -name phantomjs) /bin \ |
17 && rm -rf /phantom | 17 && rm -rf /phantom |
18 | 18 |
19 RUN apt-get update - | |
20 | 19 |
21 RUN mkdir /chromeinstall | 20 RUN apt-get update -y |
22 | 21 |
23 ADD google-chrome-stable_current_amd64.deb /chromeinstall/google-chrome-stable_current_amd64.deb | 22 WORKDIR / |
23 ##Chrome | |
24 ADD http://files.ssdt.io/google-chrome-stable_current_amd64.deb . | |
24 | 25 |
25 RUN apt install -y /chromeinstall/google-chrome-stable_current_amd64.deb | 26 RUN apt install -y ./google-chrome-stable_current_amd64.deb |
26 | 27 |
28 RUN rm -rf google-chrome-stable_current_amd64.deb | |
27 | 29 |
28 RUN apt-get install -y chromium-chromedriver | 30 ##Chromium driver (apt-get did notwork) |
31 ADD http://files.ssdt.io/chromedriver_linux64.zip . | |
32 RUN unzip chromedriver_linux64.zip -d / | |
33 RUN mv -f /chromedriver /usr/local/bin/chromedriver | |
34 RUN chmod 0755 /usr/local/bin/chromedriver | |
29 | 35 |
36 #RUN rm chromedriver_linux64.zip | |
37 RUN rm -f /chromedriver_linux64 | |
38 ##for testing purposes check versions | |
39 RUN google-chrome --version | |
40 RUN chromedriver --version | |
30 | 41 |
42 #RUN apt-get install -y chromium-chromedriver | |
43 #RUN apt-get install -y chromium-chromedriver | |
31 ADD http://files.ssdt.io/vaadin-testbench-standalone-5.1.2.jar $TESTBENCHJAR | 44 ADD http://files.ssdt.io/vaadin-testbench-standalone-5.1.2.jar $TESTBENCHJAR |
32 | 45 |
33 WORKDIR / | 46 WORKDIR / |
34 | 47 |
35 COPY ./docker-entrypoint.sh / | 48 COPY ./docker-entrypoint.sh / |