summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsunil.unnava <su622b@att.com>2019-04-09 02:21:50 -0400
committersunil.unnava <su622b@att.com>2019-04-09 02:22:07 -0400
commit6b594c82409ef39459924fc9730dd90bbd45107e (patch)
treedf12b44a3218a07209040c3220472e852e51fe3e /src
parentdea99142a99458e5c12cdcb5d4116921115a3838 (diff)
add userid to user
Issue-ID: DMAAP-1040 Change-Id: I5c0c706b53335067e58875c4fd97047ac45c36b1 Signed-off-by: sunil.unnava <su622b@att.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/docker/Dockerfile9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/resources/docker/Dockerfile b/src/main/resources/docker/Dockerfile
index f7efcff..595b4a3 100644
--- a/src/main/resources/docker/Dockerfile
+++ b/src/main/resources/docker/Dockerfile
@@ -26,8 +26,9 @@ WORKDIR /appl
RUN chmod 700 startup.sh
EXPOSE 3904 3905
ENTRYPOINT ["sh", "startup.sh"]
-RUN addgroup -S onap \
- && adduser -S messagerouter -G onap \
- && chown -R messagerouter:onap /appl/
-USER messagerouter \ No newline at end of file
+RUN addgroup -S -g 1000 mr \
+ && adduser -S -u 1000 mr mr \
+ && chown -R mr:mr /appl/
+
+USER mr \ No newline at end of file