Pamela Dragosh | 9bd4bf6 | 2017-03-30 12:46:08 -0400 | [diff] [blame] | 1 | FROM onap/policy/policy-base |
Pamela Dragosh | d1728dc | 2017-02-14 19:57:17 -0500 | [diff] [blame] | 2 | |
3 | RUN mkdir -p /opt/app/policy /tmp/policy-install && chown policy /opt/app/policy /tmp/policy-install | ||||
4 | |||||
5 | WORKDIR /tmp/policy-install | ||||
6 | |||||
7 | COPY install.zip docker-install.sh do-start.sh wait-for-port.sh ./ | ||||
8 | RUN unzip install.zip && rm install.zip && chown policy * && chmod +x *.sh | ||||
9 | |||||
10 | USER policy | ||||
11 | |||||
12 | ENTRYPOINT [ "bash", "./do-start.sh" ] | ||||
13 |