aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-01-25 19:14:26 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-25 19:14:26 +0000
commitd016d42f3cd98e961dc3425766e4ffb86829c854 (patch)
treed1906e58e9d07f70c6e7b288b06569d205b60f9c /ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile
parentf5a0e751a5a1a193b685aa5458e95227332e5e1c (diff)
parenta5f9b6f46959a3686e47c361340a8238b358eccb (diff)
Merge "ControllerBlueprint blueprintsProcessor container"
Diffstat (limited to 'ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile')
-rwxr-xr-xms/blueprintsprocessor/distribution/src/main/docker/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile b/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile
new file mode 100755
index 000000000..213623299
--- /dev/null
+++ b/ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile
@@ -0,0 +1,20 @@
+FROM anapsix/alpine-java:8_jdk
+
+ENV HTTP_PROXY ${HTTP_PROXY}
+ENV HTTPS_PROXY ${HTTPS_PROXY}
+
+RUN apk add --no-cache curl
+
+COPY startService.sh /startService.sh
+RUN chmod 777 /startService.sh && dos2unix /startService.sh
+
+COPY @project.build.finalName@-@assembly.id@.tar.gz /source.tar.gz
+
+RUN (mkdir -p /source /opt/app/onap) && (tar -xzf /source.tar.gz -C /source) \
+&& (mv /source/@project.build.finalName@ /source/app) \
+&& (cp -rf /source/app/opt/app/onap/lib /opt/app/onap/) \
+&& (cp -rf /source/app/etc /) \
+&& (cp -rf /source/app/config /) \
+&& (rm -rf /source)
+
+ENTRYPOINT /startService.sh \ No newline at end of file