aboutsummaryrefslogtreecommitdiffstats
path: root/dmaap-bc/src/main
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2020-01-10 13:37:26 -0500
committerdglFromAtt <dgl@research.att.com>2020-01-10 13:40:01 -0500
commit3bbc8a15c8711f8da2c4b699b863274d66cd12f8 (patch)
tree014ddcb55f748675e3ca66e1acfa643f678cc100 /dmaap-bc/src/main
parent1fe60460fd192704042551dbf0f5a0df7915fa4d (diff)
Modified addgroup/adduser syntax
Issue-ID: DMAAP-1363 Signed-off-by: dglFromAtt <dgl@research.att.com> Change-Id: I3bb1e3a2b30e9b959727f15c042322e109520673 Signed-off-by: dglFromAtt <dgl@research.att.com>
Diffstat (limited to 'dmaap-bc/src/main')
-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