diff options
author | sunil.unnava <su622b@att.com> | 2019-04-08 16:37:37 -0400 |
---|---|---|
committer | sunil.unnava <su622b@att.com> | 2019-04-08 16:38:11 -0400 |
commit | 6be21654c4e71432a1b0f588185e3c4b3709c2b6 (patch) | |
tree | 76617343396e77e03441e37504a006b55a1340c0 /src/main/resources/docker | |
parent | 204bfae44f434cea9a8c0d7ee0a0dc53fe775416 (diff) |
run as non root user
Issue-ID: DMAAP-1040
Change-Id: I3a11465ef26f7a79c5c8c02b596310655bed3568
Signed-off-by: sunil.unnava <su622b@att.com>
Diffstat (limited to 'src/main/resources/docker')
-rw-r--r-- | src/main/resources/docker/Dockerfile | 2 |
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 |