From: Bartosz Gardziejewski Date: Wed, 15 Apr 2020 06:11:10 +0000 (+0200) Subject: Update versions and base images in dockerfiles X-Git-Tag: 1.0.0~45^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=191b9388c84550c17150464b73c248cfa69c307a;p=integration%2Fsimulators%2Fpnf-simulator.git Update versions and base images in dockerfiles Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski Change-Id: I09e39b54c064522ffa5473c0226f5049ad7b57ef --- diff --git a/netconfsimulator/Dockerfile_app b/netconfsimulator/Dockerfile_app index a775219..2043b8a 100644 --- a/netconfsimulator/Dockerfile_app +++ b/netconfsimulator/Dockerfile_app @@ -1,4 +1,4 @@ -FROM openjdk:8-jre-alpine +FROM docker.io/openjdk:8-jre-alpine ADD target/libs /app/libs -ADD target/netconfsimulator-5.0.0-SNAPSHOT.jar /app/netconf-simulator.jar -CMD java -cp /app/libs/*:/app/netconf-simulator.jar org.onap.netconfsimulator.Main \ No newline at end of file +ADD target/netconfsimulator-1.0.0-SNAPSHOT.jar /app/netconf-simulator.jar +CMD java -cp /app/libs/*:/app/netconf-simulator.jar org.onap.netconfsimulator.Main diff --git a/netconfsimulator/Dockerfile_netopeer b/netconfsimulator/Dockerfile_netopeer index 9fe56e1..ad8db7c 100644 --- a/netconfsimulator/Dockerfile_netopeer +++ b/netconfsimulator/Dockerfile_netopeer @@ -1,4 +1,4 @@ -FROM sysrepo/sysrepo-netopeer2:v0.7.7 +FROM docker.io/sysrepo/sysrepo-netopeer2:v0.7.7 ADD apt.conf /etc/apt/apt.conf RUN apt-get update && apt-get install -y python3 python3-pip python-pip && pip3 install flask flask_restful kafka-python && pip install kafka-python RUN cd /opt/dev/sysrepo && cmake -DGEN_PYTHON_VERSION=2 -DREPOSITORY_LOC:PATH=/etc/sysrepo . && make install diff --git a/netconfsimulator/docker/Dockerfile b/netconfsimulator/docker/Dockerfile index 0e25fd3..63bb3ee 100644 --- a/netconfsimulator/docker/Dockerfile +++ b/netconfsimulator/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:8-jre-alpine +FROM docker.io/openjdk:8-jre-alpine ADD libs /app/libs -ADD netconfsimulator-5.0.0-SNAPSHOT.jar /app/netconf-simulator.jar +ADD netconfsimulator-1.0.0-SNAPSHOT.jar /app/netconf-simulator.jar CMD java -cp /app/libs/*:/app/netconf-simulator.jar org.onap.netconfsimulator.Main diff --git a/pnfsimulator/Dockerfile b/pnfsimulator/Dockerfile index aafea0e..4202047 100644 --- a/pnfsimulator/Dockerfile +++ b/pnfsimulator/Dockerfile @@ -1,6 +1,6 @@ -FROM openjdk:8-jre-alpine +FROM docker.io/openjdk:8-jre-alpine ADD target/libs /app/libs -ADD target/pnfsimulator-5.0.0-SNAPSHOT.jar /app/pnf-simulator.jar +ADD target/pnfsimulator-1.0.0-SNAPSHOT.jar /app/pnf-simulator.jar CMD apk update CMD apk add ca-certificates ADD certificates /usr/local/share/ca-certificates/