Michael Lando | 3677196 | 2017-03-01 10:05:34 +0200 | [diff] [blame] | 1 | FROM jetty:9.3.15-jre8 |
2 | |||||
3 | RUN apt-get -y update | ||||
4 | RUN apt-get -y install apt-utils | ||||
5 | RUN apt-get -y install curl | ||||
6 | RUN apt-get -y install vim | ||||
7 | |||||
8 | |||||
9 | |||||
10 | |||||
11 | |||||
12 | ADD ./../target/WSSimulator.war ${JETTY_BASE}/webapps/ | ||||
13 | RUN chown -R jetty:jetty ${JETTY_BASE}/webapps | ||||
14 | ADD ./ | ||||
15 | |||||
16 | COPY startup.sh /root/ | ||||
17 | |||||
18 | RUN chmod 770 /root/startup.sh | ||||
19 | |||||
20 | ENTRYPOINT [ "/root/startup.sh" ] |