blob: 7cadcf4c4d51a0bbd53cef9dfb30da22b30e703e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
FROM docker.io/openjdk:8-jre-alpine
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
|