diff options
author | Ajith Sreekumar <ajith.sreekumar@bell.ca> | 2021-07-29 08:18:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-07-29 08:18:46 +0000 |
commit | bd1f3fabfb0f8386a559eeaeee492ce4dcdc3ad2 (patch) | |
tree | 9894d98e9813f736f4b9c6cb4cdaeacf61fb13e2 /packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile | |
parent | d5c645873589e0b56a6ad0edd5bd0d480896f765 (diff) | |
parent | 252a4bba14ebfa2bc58261a87d7c593414a5f944 (diff) |
Merge "Replace JSON properties files to Yaml from docker images"
Diffstat (limited to 'packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile')
-rw-r--r-- | packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile b/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile index bd5000686..3d57418e5 100644 --- a/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile +++ b/packages/policy-clamp-docker/src/main/docker/ClRuntimeDockerfile @@ -33,14 +33,18 @@ ENV POLICY_HOME=$POLICY_HOME/clamp RUN mkdir -p $POLICY_LOGS $POLICY_HOME $POLICY_HOME/bin && \ chown -R policy:policy $POLICY_HOME $POLICY_LOGS && \ mkdir /packages -COPY /maven/* /packages +COPY /maven/lib/policy-controlloop-runtime.tar.gz /packages + RUN tar xvfz /packages/policy-controlloop-runtime.tar.gz --directory $POLICY_HOME && \ rm /packages/policy-controlloop-runtime.tar.gz WORKDIR $POLICY_HOME COPY controlloop-runtime.sh bin/. +COPY /maven/app.jar /app -RUN chown -R policy:policy * && chmod 755 bin/*.sh +RUN chown -R policy:policy * && \ + chmod 755 bin/*.sh && \ + chown -R policy:policy /app USER policy WORKDIR $POLICY_HOME/bin |