blob: f3cbb6f5a4246145394ab8e157a6521a8d5fb57b [file] [log] [blame]
Stone, Avi (as206k)9b2ceb32018-04-12 16:36:39 +03001FROM dockercentral.it.att.com:5100/com.att.sdc/openecomp/base_sdc-jetty:1.2.0-SNAPSHOT-latest
2
3ENV http_proxy http://one.proxy.att.com:8080
4ENV https_proxy http://one.proxy.att.com:8080
5
6COPY chef-solo /var/opt/dcae-fe/chef-solo/
7
8COPY startup.sh /var/opt/dcae-fe/
9
10ADD target/dcae_*.war ${JETTY_BASE}/webapps/
11
12USER root
13
14RUN mkdir -p /opt/logs/fe
15
16COPY set_user.sh /tmp/set_user.sh
17
18RUN sh -x /tmp/set_user.sh && rm -f /tmp/set_user.sh
19
20RUN chown -R jetty:jetty ${JETTY_BASE}/webapps /var/opt/dcae-fe /opt/logs /var/lib/jetty
21
22RUN chmod 770 /var/opt/dcae-fe/startup.sh
23
24EXPOSE 8082 8444
25
26USER jetty
27
28ENTRYPOINT [ "/var/opt/dcae-fe/startup.sh" ]
29