aboutsummaryrefslogtreecommitdiffstats
path: root/certService/Dockerfile
blob: d74b692d23c1be94004f935cb4cfd1ff0952cf01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 curl

RUN chown -R certService:certService /var/log

USER certService:certService

COPY target/oom-certservice-api-${VERSION}.jar ./opt/onap/oom/certservice/oom-certservice-api.jar

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