summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunil.unnava <su622b@att.com>2019-04-08 16:37:37 -0400
committersunil.unnava <su622b@att.com>2019-04-08 16:38:11 -0400
commit6be21654c4e71432a1b0f588185e3c4b3709c2b6 (patch)
tree76617343396e77e03441e37504a006b55a1340c0
parent204bfae44f434cea9a8c0d7ee0a0dc53fe775416 (diff)
run as non root user
Issue-ID: DMAAP-1040 Change-Id: I3a11465ef26f7a79c5c8c02b596310655bed3568 Signed-off-by: sunil.unnava <su622b@att.com>
-rw-r--r--src/main/resources/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/resources/docker/Dockerfile b/src/main/resources/docker/Dockerfile
index e947a5b..f7efcff 100644
--- a/src/main/resources/docker/Dockerfile
+++ b/src/main/resources/docker/Dockerfile
@@ -28,6 +28,6 @@ EXPOSE 3904 3905
ENTRYPOINT ["sh", "startup.sh"]
RUN addgroup -S onap \
&& adduser -S messagerouter -G onap \
- && chown -R messagerouter:onap /appl/ \
+ && chown -R messagerouter:onap /appl/
USER messagerouter \ No newline at end of file