diff options
author | 2018-08-08 12:58:21 +0300 | |
---|---|---|
committer | 2018-08-08 12:58:21 +0300 | |
commit | 4895f4a22319fbf5b29047727ec52983410fbf6a (patch) | |
tree | 927eca0a4e646b3f0be0c7b566de34c9864adbbe /Dockerfile | |
parent | e9ae0a166019675b383cd8cc5d0c591846267518 (diff) |
Remove ATT files
Remove ATT files
Change-Id: I39e61f0d32df78b1a5e7faed9d61d8d013566d3b
Issue-ID: SDC-1619
Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d45fefa --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest + +COPY docker/chef-solo /var/opt/dcae-dt/chef-solo/ + +COPY docker/startup.sh /var/opt/dcae-dt/ + +ADD target/dcae-dt.war ${JETTY_BASE}/webapps/ + +USER root + +RUN mkdir -p /opt/logs/dcae-dt + +COPY docker/set_user.sh /tmp/set_user.sh + +RUN sh -x /tmp/set_user.sh && rm -f /tmp/set_user.sh + +RUN chown -R jetty:jetty ${JETTY_BASE}/webapps /var/opt/dcae-dt /opt/logs /var/lib/jetty + +RUN chmod 770 /var/opt/dcae-dt/startup.sh + +EXPOSE 8186 9446 + +USER jetty + +ENTRYPOINT [ "/var/opt/dcae-dt/startup.sh" ]
\ No newline at end of file |