aboutsummaryrefslogtreecommitdiffstats
path: root/certServiceClient/Dockerfile
blob: f6d96dfdb4b04ee3f69219c03c587e5a9780b4a0 (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/oom-certservice-client-${VERSION}.jar ./opt/onap/oom/certservice/oom-certservice-client.jar

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