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

ARG VERSION=${version}

RUN groupadd certServiceClient && useradd -g certServiceClient certServiceClient

RUN chown -R certServiceClient:certServiceClient /var/log

USER certServiceClient:certServiceClient

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

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