blob: 9da47295ae6e849fc3c16c99bfe698503c3daab3 [file] [log] [blame]
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"]