From 22843ae3fa946fd8259f6bb2aa10a894a43e7e67 Mon Sep 17 00:00:00 2001 From: edepaul Date: Thu, 11 Apr 2019 16:14:52 +0000 Subject: Adding uid and gid for for user and group Change-Id: Iac2bb2dffc2759595387aa5113855a64c162b346 Issue-ID: DMAAP-1137 Signed-off-by: edepaul --- datarouter-prov/src/main/resources/docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'datarouter-prov/src') diff --git a/datarouter-prov/src/main/resources/docker/Dockerfile b/datarouter-prov/src/main/resources/docker/Dockerfile index fb512a4b..115dc7cb 100644 --- a/datarouter-prov/src/main/resources/docker/Dockerfile +++ b/datarouter-prov/src/main/resources/docker/Dockerfile @@ -33,8 +33,8 @@ RUN chmod 0700 startup.sh ENTRYPOINT ["sh", "startup.sh"] -RUN addgroup -S onap \ - && adduser -S datarouter -G onap \ +RUN addgroup -S -g 1001 onap \ + && adduser -S -u 1000 datarouter -G onap \ && chown -R datarouter:onap /opt/ USER datarouter -- cgit 1.2.3-korg