blob: 5060c6bff0d79319594b2f1dd5dae48e3037cbb9 [file] [log] [blame]
FROM docker.io/openjdk:11-jre-slim
ARG VERSION=${version}
RUN groupadd certService && useradd -g certService certService
RUN apt-get update && apt-get install -y vim
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"]