From 45365e41607352f6f8a2338c4c95b71953a89abf Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Tue, 2 Feb 2021 08:24:45 -0500 Subject: Initial commit Issue-ID: TEST-296 Signed-off-by: Jozsef Csongvai Change-Id: I0074085fb159fabcbd94aa2282bd1ed3a0ee394e --- docker/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docker/Dockerfile (limited to 'docker') diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..187b5cf --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,10 @@ +FROM openjdk:14-alpine +# WIKI https://docs.opendaylight.org/projects/netconf/en/latest/testtool.html + +RUN apk add curl && \ + mkdir -p /opt/app/netconf-testtool && \ + curl https://nexus.opendaylight.org/content/repositories/public/org/opendaylight/netconf/netconf-testtool/1.8.0/netconf-testtool-1.8.0-executable.jar \ + -o /opt/app/netconf-testtool/netconf-testtool-1.8.0-executable.jar + +EXPOSE 17830 +ENTRYPOINT ["java", "-Xmx1G", "-XX:MaxPermSize=256M", "-jar", "/opt/app/netconf-testtool/netconf-testtool-1.8.0-executable.jar"] \ No newline at end of file -- cgit 1.2.3-korg