diff options
Diffstat (limited to 'datacollector/docker/Dockerfile')
-rw-r--r-- | datacollector/docker/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/datacollector/docker/Dockerfile b/datacollector/docker/Dockerfile new file mode 100644 index 0000000..251673d --- /dev/null +++ b/datacollector/docker/Dockerfile @@ -0,0 +1,14 @@ +FROM nexus3.onap.org:10001/onap/integration-java11:8.0.0 +ARG VERSION="" + +USER root + +RUN apk add --no-cache mysql-client + +USER onap + +EXPOSE 8087 + +COPY *-${VERSION}.jar /app/service.jar +COPY init.sql start.sh /app/ +ENTRYPOINT ["/bin/sh", "/app/start.sh"] |