aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor
diff options
context:
space:
mode:
authorJozsef Csongvai <jozsef.csongvai@bell.ca>2020-06-03 09:04:28 -0400
committerJozsef Csongvai <jozsef.csongvai@bell.ca>2020-06-03 09:12:26 -0400
commit12ab1a900ad255ffec2f18530e85d9b196417e26 (patch)
tree06f0a92e15eccccec56256e8067137efdc549927 /ms/blueprintsprocessor
parentd04515ae5983945d24fa2a339827ee938e5cb6ab (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/blueprintsprocessor')
-rwxr-xr-xms/blueprintsprocessor/application/src/main/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile
index bd1b3804a..e9c4c5895 100755
--- a/ms/blueprintsprocessor/application/src/main/docker/Dockerfile
+++ b/ms/blueprintsprocessor/application/src/main/docker/Dockerfile
@@ -9,7 +9,7 @@ FROM omahoco1/alpine-java-python
# add entrypoint
COPY startService.sh /startService.sh
-RUN addgroup -S onap && adduser -S onap -G onap
+RUN addgroup -S -g 1000 onap && adduser -u 1000 -S onap -G onap
RUN chown onap:onap /startService.sh
RUN touch /velocity.log && chmod 777 /velocity.log
RUN chown onap:onap /velocity.log