aboutsummaryrefslogtreecommitdiffstats
path: root/pnfsimulator/Dockerfile
blob: 52e507ccc93192d9d16a5d240378ff6e8e9743f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM docker.io/openjdk:11-jre-slim

ARG VERSION=${version}

ADD target/libs /app/libs
ADD target/pnfsimulator-${VERSION}.jar /app/pnf-simulator.jar
CMD apk update
CMD apk add ca-certificates
ADD certificates  /usr/local/share/ca-certificates/
RUN update-ca-certificates
CMD java -Dspring.config.location=file:/app/application.properties  -cp /app/libs/*:/app/pnf-simulator.jar org.onap.pnfsimulator.Main