diff options
author | Dan Timoney <dtimoney@att.com> | 2020-04-28 14:01:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-04-28 14:01:55 +0000 |
commit | 133f584b2257aa8c85a95854ca6b324a3f34edf3 (patch) | |
tree | 1fb0bf0cb7e2436e675e8ba0ab016e0211ca8cad /ms/blueprintsprocessor/application | |
parent | 340b97f14af71fbf2a35dd996cab7a60e4e791de (diff) | |
parent | be864c3d32ea9dfe88f0e121734abdc950401449 (diff) |
Merge "Making POD run as non-root"
Diffstat (limited to 'ms/blueprintsprocessor/application')
-rwxr-xr-x | ms/blueprintsprocessor/application/src/main/docker/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile index 042041ebb..bd1b3804a 100755 --- a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile +++ b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile @@ -11,11 +11,13 @@ FROM omahoco1/alpine-java-python COPY startService.sh /startService.sh RUN addgroup -S onap && adduser -S onap -G onap RUN chown onap:onap /startService.sh +RUN touch /velocity.log && chmod 777 /velocity.log +RUN chown onap:onap /velocity.log RUN chmod 777 /startService.sh && dos2unix /startService.sh # add application COPY --from=extractor /opt /opt -RUN mkdir /opt/app/onap/blueprints +RUN mkdir -p /opt/app/onap/blueprints/deploy RUN chown onap:onap /opt -R USER onap |