diff options
Diffstat (limited to 'certServicePostProcessor/Dockerfile')
-rw-r--r-- | certServicePostProcessor/Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/certServicePostProcessor/Dockerfile b/certServicePostProcessor/Dockerfile new file mode 100644 index 00000000..8f0f2481 --- /dev/null +++ b/certServicePostProcessor/Dockerfile @@ -0,0 +1,16 @@ +FROM docker.io/openjdk:11-jre-slim + +ARG VERSION=${version} + +RUN groupadd onap && useradd -g onap truststoreMerger + +RUN chown -R truststoreMerger:onap /var/log + +USER truststoreMerger:onap + +COPY target/oom-truststore-merger-${VERSION}.jar ./opt/onap/oom/truststoremerger/oom-truststore-merger.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"] |