xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 1 | FROM onap/integration-java11:7.1.0 |
ilanap | 820f4ec | 2019-11-18 13:38:23 +0200 | [diff] [blame] | 2 | |
3 | EXPOSE 8080 | ||||
4 | |||||
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 5 | USER root |
ilanap | 820f4ec | 2019-11-18 13:38:23 +0200 | [diff] [blame] | 6 | ARG ARTIFACT |
7 | |||||
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 8 | ADD --chown=onap:onap ${ARTIFACT} /app.jar |
ilanap | 820f4ec | 2019-11-18 13:38:23 +0200 | [diff] [blame] | 9 | |
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 10 | COPY --chown=onap:onap org.onap.sdc.p12 /keystore |
11 | COPY --chown=onap:onap org.onap.sdc.trust.jks /truststore | ||||
ilanap | 820f4ec | 2019-11-18 13:38:23 +0200 | [diff] [blame] | 12 | |
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 13 | COPY --chown=onap:onap startup.sh . |
ilanap | 820f4ec | 2019-11-18 13:38:23 +0200 | [diff] [blame] | 14 | RUN chmod 744 startup.sh |
MichaelMorris | 1b548a3 | 2020-03-10 17:02:34 +0000 | [diff] [blame] | 15 | |
16 | RUN mkdir /var/log/ONAP/ | ||||
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 17 | RUN chown onap:onap /var/log/ONAP/ |
ilanap | 820f4ec | 2019-11-18 13:38:23 +0200 | [diff] [blame] | 18 | |
xuegao | c51038a | 2020-09-18 10:22:19 +0200 | [diff] [blame] | 19 | USER onap |
MichaelMorris | 1b548a3 | 2020-03-10 17:02:34 +0000 | [diff] [blame] | 20 | ENTRYPOINT [ "./startup.sh" ] |