diff options
author | 2019-04-24 13:43:29 +0000 | |
---|---|---|
committer | 2019-04-24 13:43:29 +0000 | |
commit | ef90400a4cdbb423451ed8b637d7199d0482b983 (patch) | |
tree | 8d2a27080656d02ad86af88609e8c88e63647ecb /ms/sdclistener/distribution/src/main/docker/Dockerfile | |
parent | e9e5d453a301d59cebb7e4a21c88dd2178e83207 (diff) | |
parent | d5339481d3c3f24dd5faccb44dccd4addfd58499 (diff) |
Merge "SDC Listner Docker touchup"
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 |