diff options
author | 2020-04-28 14:01:55 +0000 | |
---|---|---|
committer | 2020-04-28 14:01:55 +0000 | |
commit | 133f584b2257aa8c85a95854ca6b324a3f34edf3 (patch) | |
tree | 1fb0bf0cb7e2436e675e8ba0ab016e0211ca8cad /ms/sdclistener/distribution/src/main/docker/Dockerfile | |
parent | 340b97f14af71fbf2a35dd996cab7a60e4e791de (diff) | |
parent | be864c3d32ea9dfe88f0e121734abdc950401449 (diff) |
Merge "Making POD run as non-root"
Diffstat (limited to 'ms/sdclistener/distribution/src/main/docker/Dockerfile')
-rwxr-xr-x | ms/sdclistener/distribution/src/main/docker/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ms/sdclistener/distribution/src/main/docker/Dockerfile b/ms/sdclistener/distribution/src/main/docker/Dockerfile index 5168dd9c2..e9ecb8d66 100755 --- a/ms/sdclistener/distribution/src/main/docker/Dockerfile +++ b/ms/sdclistener/distribution/src/main/docker/Dockerfile @@ -12,7 +12,8 @@ RUN tar -xzf /source.tar.gz -C /tmp \ && rm -rf /source.tar.gz \ && rm -rf /tmp/@project.build.finalName@ -RUN mkdir /opt/app/onap/cds-sdc-listener +RUN mkdir -p /opt/app/onap/cds-sdc-listener RUN chown onap:onap /opt -R + USER onap ENTRYPOINT /startService.sh |