blob: e6b9a3647f95d4a294300eea91ab6b8a89e5a76e [file] [log] [blame]
Areli, Fuss (af732p)f5c05122018-05-21 16:35:34 +03001FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +03002
3COPY chef-solo /var/opt/dcae-fe/chef-solo/
4
5COPY startup.sh /var/opt/dcae-fe/
6
7ADD target/dcae_*.war ${JETTY_BASE}/webapps/
8
9USER root
10
11RUN mkdir -p /opt/logs/fe
12
13COPY set_user.sh /tmp/set_user.sh
14
15RUN sh -x /tmp/set_user.sh && rm -f /tmp/set_user.sh
16
17RUN chown -R jetty:jetty ${JETTY_BASE}/webapps /var/opt/dcae-fe /opt/logs /var/lib/jetty
18
19RUN chmod 770 /var/opt/dcae-fe/startup.sh
20
21EXPOSE 8082 8444
22
23USER jetty
24
25ENTRYPOINT [ "/var/opt/dcae-fe/startup.sh" ]
26