diff options
author | 2019-04-22 17:47:33 -0400 | |
---|---|---|
committer | 2019-04-23 11:07:55 -0400 | |
commit | d5339481d3c3f24dd5faccb44dccd4addfd58499 (patch) | |
tree | dacae59a21608341fcce9cc0060399b15d487f47 /ms/sdclistener/distribution/src/main/docker/Dockerfile | |
parent | f332e6ecd2c0a9f26451f977c941f03ed8ab84dc (diff) |
SDC Listner Docker touchup
1.Reworked Dockerization of SDC Listener to follow
application/distribution+parent style;
2.Renamed CDS-SDClistener to just SDCListener
Issue-ID: CCSDK-1145
Change-Id: I007373d3a48fb8eb7042150bdbb37fc7fec346b3
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Diffstat (limited to 'ms/sdclistener/distribution/src/main/docker/Dockerfile')
-rwxr-xr-x | ms/sdclistener/distribution/src/main/docker/Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ms/sdclistener/distribution/src/main/docker/Dockerfile b/ms/sdclistener/distribution/src/main/docker/Dockerfile new file mode 100755 index 000000000..e945188a8 --- /dev/null +++ b/ms/sdclistener/distribution/src/main/docker/Dockerfile @@ -0,0 +1,16 @@ +FROM openjdk:8-jdk-alpine + +ENV HTTP_PROXY ${HTTP_PROXY} +ENV HTTPS_PROXY ${HTTPS_PROXY} + +# add entrypoint +COPY startService.sh /startService.sh +RUN chmod 751 /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 |