diff options
author | jananib <janani.b@huawei.com> | 2020-04-23 19:28:43 +0530 |
---|---|---|
committer | jananib <janani.b@huawei.com> | 2020-04-23 19:28:43 +0530 |
commit | be864c3d32ea9dfe88f0e121734abdc950401449 (patch) | |
tree | e2ad7a1bd926c01a73e73b33af357d26e255e201 /ms/py-executor/docker | |
parent | f08bff64a1f54e9e8ff5920963247b1a0cfe535b (diff) |
Making POD run as non-root
Non-root user addition
Change-Id: Id110aebea3d3526aaf319d8994670644a7bab698
Issue-ID: CCSDK-2149
Signed-off-by: jananib <janani.b@huawei.com>
Diffstat (limited to 'ms/py-executor/docker')
-rw-r--r-- | ms/py-executor/docker/Dockerfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ms/py-executor/docker/Dockerfile b/ms/py-executor/docker/Dockerfile index bb1b0f79c..638b09f39 100644 --- a/ms/py-executor/docker/Dockerfile +++ b/ms/py-executor/docker/Dockerfile @@ -12,6 +12,7 @@ RUN tar -xzf /source.tar.gz -C /tmp \ RUN pip install --no-cache-dir -r /opt/app/onap/python/requirements/docker.txt +RUN mkdir -p /opt/app/onap/blueprints/deploy RUN chown onap:onap /opt -R VOLUME /opt/app/onap/blueprints/deploy/ |