blob: 5bd6b18e25c630ee418f4af76b821449db625710 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
FROM docker.io/openjdk:11-jre-slim
ARG VERSION=1.0.0-SNAPSHOT
RUN groupadd certService && useradd -g certService certService
RUN chown -R certService:certService /var/log
USER certService:certService
COPY target/cert-service-${VERSION}.jar ./opt/onap/aaf/certservice/cert-service.jar
ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/cert-service.jar"]
|