summaryrefslogtreecommitdiffstats
path: root/docker/docker_tools/Dockerfile
blob: f63a9ca07b81e27ec5ad92396925a905cca04004 (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.6.0

COPY --chown=jetty:jetty chef-solo ${JETTY_BASE}/chef-solo/

COPY --chown=jetty:jetty chef-repo/cookbooks ${JETTY_BASE}/chef-solo/cookbooks/

ADD --chown=jetty:jetty target/dcaedt_tools-*.jar ${JETTY_BASE}/webapps/dcaedt_tools.jar

USER root

RUN apk add --no-cache python

USER jetty

COPY --chown=jetty:jetty startup.sh ${JETTY_BASE}/

RUN chmod 770 ${JETTY_BASE}/startup.sh

ENTRYPOINT ${JETTY_BASE}/startup.sh