From 12ab1a900ad255ffec2f18530e85d9b196417e26 Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Wed, 3 Jun 2020 09:04:28 -0400 Subject: 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 Change-Id: Ie47873c98211b280490ee7a6bcc60ceef49dd690 --- ms/command-executor/src/main/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ms/command-executor/src/main') diff --git a/ms/command-executor/src/main/docker/Dockerfile b/ms/command-executor/src/main/docker/Dockerfile index e84d5531b..610e10cc2 100644 --- a/ms/command-executor/src/main/docker/Dockerfile +++ b/ms/command-executor/src/main/docker/Dockerfile @@ -5,7 +5,7 @@ RUN python -m pip install --upgrade pip RUN pip install grpcio==${GRPC_PYTHON_VERSION} grpcio-tools==${GRPC_PYTHON_VERSION} RUN pip install virtualenv==16.7.9 pympler==0.8 -RUN groupadd -r onap && useradd -r -g onap onap +RUN groupadd -r -g 1000 onap && useradd -r -u 1000 -g onap onap COPY start.sh /opt/app/onap/start.sh RUN chmod u+x /opt/app/onap/start.sh -- cgit 1.2.3-korg