summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2021-02-02 08:24:45 -0500
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2021-02-02 08:24:45 -0500
commit45365e41607352f6f8a2338c4c95b71953a89abf (patch)
tree6ebcf61f772418018d4bdcfdd89b8389e5c9c380 /docker
parent02cf2f5cbae939dd4334c0a87382b35a6850f131 (diff)
Initial commit
Issue-ID: TEST-296 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I0074085fb159fabcbd94aa2282bd1ed3a0ee394e
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile10
1 files changed, 10 insertions, 0 deletions
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