diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 10 |
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 |