summaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/sdc-simulator/Dockerfile
blob: e546d48655afb93386553c3f3d51fb99dd50ad25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest

COPY chef-solo /root/chef-solo/

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

RUN cp ${JETTY_HOME}/resources/log4j.properties ${JETTY_BASE}/resources/log4j.properties

ADD WSSimulator*.war                    	${JETTY_BASE}/webapps/

USER root

RUN chown -R jetty:jetty               		${JETTY_BASE}/webapps

COPY startup.sh /root/

RUN chmod 777 /root/startup.sh

ENTRYPOINT [ "/root/startup.sh" ]