blob: 207cec5cbb40e91c61249f0b1229b9baf85bb4df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
FROM omahoco1/alpine-java-python
# 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
|