summaryrefslogtreecommitdiffstats
path: root/datacollector/docker/Dockerfile
diff options
context:
space:
mode:
authory.busko <y.busko@partner.samsung.com>2021-04-14 16:13:09 +0200
committerk.kedron <k.kedron@partner.samsung.com>2021-04-16 17:43:35 +0200
commit8f21c92d8104ea9bcaa49998cfb0787514a6ddc9 (patch)
treed6c30e8ee411ac1cdcbab8d303400eb895ace35d /datacollector/docker/Dockerfile
parent16c9954de0a4fdcb5324859b21ac928169792037 (diff)
Initial code for DataCollector RAPP
Updated pom files Added swagger templates at /doc/templates Change-Id: I2fb7b26993fa13f07c3cf013aec9df06bd2dca8b Issue-ID: INT-1887 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Signed-off-by: yauheni busko <y.busko3@partner.samsung.com>
Diffstat (limited to 'datacollector/docker/Dockerfile')
-rw-r--r--datacollector/docker/Dockerfile14
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"]