blob: fe568082d2a615c41543af2e9f712540059d8a49 [file] [log] [blame]
Pamela Dragosh9bd4bf62017-03-30 12:46:08 -04001FROM onap/policy/policy-base
Pamela Dragoshd1728dc2017-02-14 19:57:17 -05002
3RUN mkdir -p /opt/app/policy /tmp/policy-install && chown policy /opt/app/policy /tmp/policy-install
4
5WORKDIR /tmp/policy-install
6
7COPY install.zip docker-install.sh do-start.sh wait-for-port.sh ./
8RUN unzip install.zip && rm install.zip && chown policy * && chmod +x *.sh
9
10USER policy
11
12ENTRYPOINT [ "bash", "./do-start.sh" ]
13