diff options
author | 2020-06-03 09:04:28 -0400 | |
---|---|---|
committer | 2020-06-03 15:13:46 +0000 | |
commit | 4538cca5ec767a6ec72bbdde6745b1bba18933b0 (patch) | |
tree | c4d1c1c173cf6f45d6e234ad42fdf5e3e3b0b240 /ms/sdclistener/distribution | |
parent | a37a0120b2aec155ff47ca6e4b6e7770bae5752a (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
(cherry picked from commit 12ab1a900ad255ffec2f18530e85d9b196417e26)
Diffstat (limited to 'ms/sdclistener/distribution')
-rwxr-xr-x | ms/sdclistener/distribution/src/main/docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/sdclistener/distribution/src/main/docker/Dockerfile b/ms/sdclistener/distribution/src/main/docker/Dockerfile index e9ecb8d66..41622fae1 100755 --- a/ms/sdclistener/distribution/src/main/docker/Dockerfile +++ b/ms/sdclistener/distribution/src/main/docker/Dockerfile @@ -1,6 +1,6 @@ FROM openjdk:8-jdk-alpine -RUN addgroup -S onap && adduser -S onap -G onap +RUN addgroup -S -g 1000 onap && adduser -S onap -u 1000 -G onap # add entrypoint COPY startService.sh /startService.sh RUN chown onap:onap /startService.sh |