summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorvarun gudisena <varuneshwar.gudisena@att.com>2019-04-09 22:27:44 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-09 22:27:44 +0000
commit3d40e82dfc610af44214c1fd3d0269fe20e14d69 (patch)
treefa905da85bafa02db1405a9fa8ce0d86d3e65289 /src
parenta3e3ab945ba4ebdf0231b0633c088b946855c545 (diff)
parent6b594c82409ef39459924fc9730dd90bbd45107e (diff)
Merge "add userid to user"
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