diff options
author | 2019-09-06 14:37:04 -0400 | |
---|---|---|
committer | 2019-09-18 14:56:45 -0400 | |
commit | 65279626aae2c414f023a85feb9e3fee41e7215c (patch) | |
tree | 9430645050f531ae1ec6d5a2a21807e59c91b109 /ms/blueprintsprocessor/application/src/main/docker/Dockerfile | |
parent | 996d0b3caf7bf767747b8c369d2ccc579711d092 (diff) |
Refactor distribution module to application.
Change-Id: If6451215e1d1c3b1b5963bbe5c6cda1532f01ac5
Issue-ID: CCSDK-1697
Signed-off-by: Brinda Santh <brindasanth@in.ibm.com>
Diffstat (limited to 'ms/blueprintsprocessor/application/src/main/docker/Dockerfile')
-rwxr-xr-x | ms/blueprintsprocessor/application/src/main/docker/Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile new file mode 100755 index 000000000..dab0a4c01 --- /dev/null +++ b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile @@ -0,0 +1,18 @@ +FROM omahoco1/alpine-java-python + +ENV HTTP_PROXY ${HTTP_PROXY} +ENV HTTPS_PROXY ${HTTPS_PROXY} + +# add entrypoint +COPY run.source /etc/run.source +COPY startService.sh /startService.sh +RUN chmod 777 /startService.sh && dos2unix /startService.sh + +# add application +COPY @project.build.finalName@-@assembly.id@.tar.gz /source.tar.gz +RUN tar -xzf /source.tar.gz -C /tmp \ + && cp -rf /tmp/@project.build.finalName@/opt / \ + && rm -rf /source.tar.gz \ + && rm -rf /tmp/@project.build.finalName@ + +ENTRYPOINT /startService.sh
\ No newline at end of file |