summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2021-04-02 07:31:17 +0000
committerGerrit Code Review <gerrit@onap.org>2021-04-02 07:31:17 +0000
commit9977b7a6cdc3c3ee21e5a982687ec61e6b529929 (patch)
treedd9e8fd3e7fed1bd306d29e8a5c822fe61bda00e /docker
parent04baa0051a15334bb7b293ed57b26552b44df462 (diff)
parent45365e41607352f6f8a2338c4c95b71953a89abf (diff)
Merge "Initial commit"honolulu
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