aboutsummaryrefslogtreecommitdiffstats
path: root/certService/Dockerfile
blob: 70617ede5fcbc0f113bd57de608af9d88bf25126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM docker.io/openjdk:11-jre-slim

ARG VERSION=0.0.1-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"]