aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dmaap-bc/src/main/resources/Dockerfile4
1 files changed, 2 insertions, 2 deletions
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