summaryrefslogtreecommitdiffstats
path: root/catalog-be/sdc-backend/Dockerfile
blob: 2e23d419109fd59e8dcdb95fa8001001394c2296 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM onap/base_sdc-jetty:1.4.1

COPY chef-solo /root/chef-solo/

COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/

ADD --chown=jetty:jetty catalog-be-*.war       ${JETTY_BASE}/webappwar/
ADD --chown=jetty:jetty context.xml       ${JETTY_BASE}/webapps/

USER root

COPY startup.sh /root/

RUN chmod 770 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]