aboutsummaryrefslogtreecommitdiffstats
path: root/datarouter-subscriber/src/main/resources/docker/Dockerfile
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2020-04-16 14:59:07 +0100
committerefiacor <fiachra.corcoran@est.tech>2020-04-16 15:03:50 +0100
commit5906de2465975e42e4983abe411f30fa16050fdf (patch)
tree81bf98d48c6e09f9d545f993bcd9416c510ea109 /datarouter-subscriber/src/main/resources/docker/Dockerfile
parent8552e04175c7091d0d748e0c0f4b14a0d9321b40 (diff)
Fix sonar issues and reporting
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I29aa54e62d2dfaa6eddb16eb67c325254dfc0e06 Issue-ID: DMAAP-1426
Diffstat (limited to 'datarouter-subscriber/src/main/resources/docker/Dockerfile')
-rw-r--r--datarouter-subscriber/src/main/resources/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/datarouter-subscriber/src/main/resources/docker/Dockerfile b/datarouter-subscriber/src/main/resources/docker/Dockerfile
index 20a2ca2b..81c9dcca 100644
--- a/datarouter-subscriber/src/main/resources/docker/Dockerfile
+++ b/datarouter-subscriber/src/main/resources/docker/Dockerfile
@@ -36,7 +36,7 @@ RUN chmod 0700 startup.sh
ENTRYPOINT ["sh", "startup.sh"]
RUN groupadd -g 1001 onap \
- && useradd -u 1000 datarouter -g onap \
- && chown -R datarouter:onap /opt/
+ && useradd -u 1000 dradmin -g onap \
+ && chown -R dradmin:onap /opt/ /var/
-USER datarouter \ No newline at end of file
+USER dradmin \ No newline at end of file