diff options
author | ecaiyanlinux <martin.c.yan@est.tech> | 2019-09-06 15:24:59 +0000 |
---|---|---|
committer | ecaiyanlinux <martin.c.yan@est.tech> | 2019-09-06 15:24:59 +0000 |
commit | 6c925362213b8f05612b309fb50fa4c0b5650224 (patch) | |
tree | 50b91263d7d457721627b87e7ac6e8f9a81c740d /datafile-app-server/src/main/docker/Dockerfile | |
parent | e92d9f47629e635ae70c856615556476d266cb3f (diff) |
TLS init container usage
Change-Id: Iec51c722f6a3a519fd7eb0f37f8b801eebbc039b
Issue-ID: DCAEGEN2-1702
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Diffstat (limited to 'datafile-app-server/src/main/docker/Dockerfile')
-rw-r--r-- | datafile-app-server/src/main/docker/Dockerfile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/datafile-app-server/src/main/docker/Dockerfile b/datafile-app-server/src/main/docker/Dockerfile index 7343128a..bfd952e0 100644 --- a/datafile-app-server/src/main/docker/Dockerfile +++ b/datafile-app-server/src/main/docker/Dockerfile @@ -24,18 +24,13 @@ RUN mkdir -p /var/log/ONAP ADD /target/datafile-app-server.jar /opt/app/datafile/ ADD /config/application.yaml /opt/app/datafile/config/ -ADD /config/dfc.jks.b64 /opt/app/datafile/config/ -ADD /config/ftp.jks.b64 /opt/app/datafile/config/ EXPOSE 8100 8433 RUN addgroup -S onap && adduser -S datafile -G onap -RUN chown -R datafile:onap /opt/app/datafile RUN chown -R datafile:onap /var/log/ONAP -RUN base64 -d /opt/app/datafile/config/dfc.jks.b64 > /opt/app/datafile/config/dfc.jks && base64 -d /opt/app/datafile/config/ftp.jks.b64 > /opt/app/datafile/config/ftp.jks -RUN chown -R datafile:onap /opt/app/datafile/config/* -RUN chmod -R 755 /opt/app/datafile/config/ +RUN chmod -R 777 /opt/app/datafile/config/ USER datafile -ENTRYPOINT ["/usr/bin/java", "-jar", "/opt/app/datafile/datafile-app-server.jar"] +ENTRYPOINT ["/usr/bin/java", "-jar", "/opt/app/datafile/datafile-app-server.jar"]
\ No newline at end of file |