Stone, Avi (as206k) | 530230e | 2018-05-17 10:25:42 +0300 | [diff] [blame^] | 1 | FROM onap/base_sdc-jetty:1.2.0-SNAPSHOT-latest |
2 | |||||
3 | USER root | ||||
4 | |||||
5 | RUN adduser -h /home/dcae -s /bin/sh -D dcae | ||||
6 | |||||
7 | COPY target/dcaedt_tools-*.jar /var/opt/dcae-tools/app/dcaedt_tools.jar | ||||
8 | |||||
9 | COPY chef-solo /var/opt/dcae-tools/chef-solo/ | ||||
10 | |||||
11 | COPY startup.sh /var/opt/dcae-tools | ||||
12 | |||||
13 | RUN chmod 775 /var/opt/dcae-tools/startup.sh | ||||
14 | |||||
15 | RUN chown -R dcae /var/opt/dcae-tools | ||||
16 | |||||
17 | USER dcae | ||||
18 | |||||
19 | ENTRYPOINT [ "/var/opt/dcae-tools/startup.sh" ] | ||||
20 |