blob: 9da47295ae6e849fc3c16c99bfe698503c3daab3 [file] [log] [blame]
Joanna Jeremiczacae4022020-02-20 08:47:25 +01001FROM docker.io/openjdk:11-jre-slim
2
3ARG VERSION=${version}
4
5RUN groupadd certServiceClient && useradd -g certServiceClient certServiceClient
6
7RUN chown -R certServiceClient:certServiceClient /var/log
8
9USER certServiceClient:certServiceClient
10
11COPY target/aaf-certservice-client-${VERSION}.jar ./opt/onap/aaf/certservice/aaf-certservice-client.jar
12
Joanna Jeremiczff9a4642020-02-20 12:14:03 +010013ENTRYPOINT ["java","-jar","./opt/onap/aaf/certservice/aaf-certservice-client.jar"]