From 3bbc8a15c8711f8da2c4b699b863274d66cd12f8 Mon Sep 17 00:00:00 2001 From: dglFromAtt Date: Fri, 10 Jan 2020 13:37:26 -0500 Subject: Modified addgroup/adduser syntax Issue-ID: DMAAP-1363 Signed-off-by: dglFromAtt Change-Id: I3bb1e3a2b30e9b959727f15c042322e109520673 Signed-off-by: dglFromAtt --- dmaap-bc/src/main/resources/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dmaap-bc') diff --git a/dmaap-bc/src/main/resources/Dockerfile b/dmaap-bc/src/main/resources/Dockerfile index 3cb15cd..3e12a19 100644 --- a/dmaap-bc/src/main/resources/Dockerfile +++ b/dmaap-bc/src/main/resources/Dockerfile @@ -57,8 +57,8 @@ RUN mv etc/org.onap.dmaap-bc.jks etc/keystore && \ VOLUME /opt/app/dmaapbc/log -RUN addgroup -S -g 1001 onap \ - && adduser -S -u 1000 dbc -G onap \ +RUN addgroup --system -gid 1001 onap \ + && adduser --ingroup onap --system --disabled-password --no-create-home --uid 1000 dbc \ && chown -R dbc:onap /opt/ USER dbc -- cgit 1.2.3-korg