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

ARG VERSION=${project.version}

RUN groupadd certService && useradd -g certService certService

RUN chown -R certService:certService /var/log

USER certService:certService

COPY target/aaf-certservice-api-${VERSION}.jar ./opt/onap/aaf/certservice/aaf-certservice-api.jar

ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/aaf-certservice-api.jar"]