diff options
author | Dan Timoney <dtimoney@att.com> | 2019-01-25 19:14:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-01-25 19:14:26 +0000 |
commit | d016d42f3cd98e961dc3425766e4ffb86829c854 (patch) | |
tree | d1906e58e9d07f70c6e7b288b06569d205b60f9c /ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile | |
parent | f5a0e751a5a1a193b685aa5458e95227332e5e1c (diff) | |
parent | a5f9b6f46959a3686e47c361340a8238b358eccb (diff) |
Merge "ControllerBlueprint blueprintsProcessor container"
Diffstat (limited to 'ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile')
-rwxr-xr-x | ms/blueprintsprocessor/distribution/src/main/docker/Dockerfile | 20 |
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 |