diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-06-03 09:04:28 -0400 |
---|---|---|
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-06-03 09:12:26 -0400 |
commit | 12ab1a900ad255ffec2f18530e85d9b196417e26 (patch) | |
tree | 06f0a92e15eccccec56256e8067137efdc549927 /ms/py-executor/docker | |
parent | d04515ae5983945d24fa2a339827ee938e5cb6ab (diff) |
Set explicit uid and gid in dockerfiles
This fixes permission issues with shared nfs volumes caused by
mismatch in dynamically assigned gid and uid between containers.
Issue-ID: CCSDK-2398
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Ie47873c98211b280490ee7a6bcc60ceef49dd690
Diffstat (limited to 'ms/py-executor/docker')
-rw-r--r-- | ms/py-executor/docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/py-executor/docker/Dockerfile b/ms/py-executor/docker/Dockerfile index 638b09f39..eb43b7320 100644 --- a/ms/py-executor/docker/Dockerfile +++ b/ms/py-executor/docker/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.7-slim -RUN groupadd -r onap && useradd -r -g onap onap +RUN groupadd -r -g 1000 onap && useradd -u 1000 -r -g onap onap RUN mkdir -p /opt/app/onap/logs/ && touch /opt/app/onap/logs/application.log |