diff options
Diffstat (limited to 'certServicePostProcessor/Dockerfile')
-rw-r--r-- | certServicePostProcessor/Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/certServicePostProcessor/Dockerfile b/certServicePostProcessor/Dockerfile index 8f0f2481..27fa1830 100644 --- a/certServicePostProcessor/Dockerfile +++ b/certServicePostProcessor/Dockerfile @@ -2,15 +2,15 @@ FROM docker.io/openjdk:11-jre-slim ARG VERSION=${version} -RUN groupadd onap && useradd -g onap truststoreMerger +RUN groupadd onap && useradd -g onap postProcessor -RUN chown -R truststoreMerger:onap /var/log +RUN chown -R postProcessor:onap /var/log -USER truststoreMerger:onap +USER postProcessor:onap -COPY target/oom-truststore-merger-${VERSION}.jar ./opt/onap/oom/truststoremerger/oom-truststore-merger.jar +COPY target/oom-certservice-post-processor-${VERSION}.jar /opt/onap/oom/cert-service/post-processor/oom-certservice-post-processor.jar #Run as root allow to manage certificates provided by other containers. It should be change in future USER root -ENTRYPOINT ["java","-jar","./opt/onap/oom/truststoremerger/oom-truststore-merger.jar"] +ENTRYPOINT ["java","-jar","/opt/onap/oom/cert-service/post-processor/oom-certservice-post-processor.jar"] |