blob: 1aaf4b697d114bdc9fb40fcf3f6d0a8bed559684 [file] [log] [blame]
xuegaoc51038a2020-09-18 10:22:19 +02001FROM onap/integration-java11:7.1.0
ilanap820f4ec2019-11-18 13:38:23 +02002
3EXPOSE 8080
4
xuegaoc51038a2020-09-18 10:22:19 +02005USER root
ilanap820f4ec2019-11-18 13:38:23 +02006ARG ARTIFACT
7
xuegaoc51038a2020-09-18 10:22:19 +02008ADD --chown=onap:onap ${ARTIFACT} /app.jar
ilanap820f4ec2019-11-18 13:38:23 +02009
xuegaoc51038a2020-09-18 10:22:19 +020010COPY --chown=onap:onap org.onap.sdc.p12 /keystore
11COPY --chown=onap:onap org.onap.sdc.trust.jks /truststore
ilanap820f4ec2019-11-18 13:38:23 +020012
xuegaoc51038a2020-09-18 10:22:19 +020013COPY --chown=onap:onap startup.sh .
ilanap820f4ec2019-11-18 13:38:23 +020014RUN chmod 744 startup.sh
MichaelMorris1b548a32020-03-10 17:02:34 +000015
16RUN mkdir /var/log/ONAP/
xuegaoc51038a2020-09-18 10:22:19 +020017RUN chown onap:onap /var/log/ONAP/
ilanap820f4ec2019-11-18 13:38:23 +020018
xuegaoc51038a2020-09-18 10:22:19 +020019USER onap
MichaelMorris1b548a32020-03-10 17:02:34 +000020ENTRYPOINT [ "./startup.sh" ]