summaryrefslogtreecommitdiffstats
path: root/datarouter-subscriber/src/main/resources/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'datarouter-subscriber/src/main/resources/docker/Dockerfile')
-rw-r--r--datarouter-subscriber/src/main/resources/docker/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/datarouter-subscriber/src/main/resources/docker/Dockerfile b/datarouter-subscriber/src/main/resources/docker/Dockerfile
index 7892ff75..6c3536c2 100644
--- a/datarouter-subscriber/src/main/resources/docker/Dockerfile
+++ b/datarouter-subscriber/src/main/resources/docker/Dockerfile
@@ -30,8 +30,8 @@ WORKDIR /opt
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 \ No newline at end of file