diff options
author | sunil.unnava <su622b@att.com> | 2019-04-08 16:08:08 -0400 |
---|---|---|
committer | sunil.unnava <su622b@att.com> | 2019-04-08 16:08:31 -0400 |
commit | 204bfae44f434cea9a8c0d7ee0a0dc53fe775416 (patch) | |
tree | 7377666376fe3ca35580650ddc8b48697dd06e4e /src | |
parent | 223045803c885f9a3f81f051e62cb8e36ae42b64 (diff) |
run as non root user
Issue-ID: DMAAP-1040
Change-Id: I98641486a3f4ec1232fb2cc6c0430983c5070980
Signed-off-by: sunil.unnava <su622b@att.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/resources/docker/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/docker/Dockerfile b/src/main/resources/docker/Dockerfile index 9afd41e..e947a5b 100644 --- a/src/main/resources/docker/Dockerfile +++ b/src/main/resources/docker/Dockerfile @@ -23,9 +23,9 @@ MAINTAINER DMAAP Team COPY appl /appl/ COPY startup.sh /appl/ WORKDIR /appl -RUN chmod 700 /startup.sh +RUN chmod 700 startup.sh EXPOSE 3904 3905 -ENTRYPOINT ["sh", "./startup.sh"] +ENTRYPOINT ["sh", "startup.sh"] RUN addgroup -S onap \ && adduser -S messagerouter -G onap \ && chown -R messagerouter:onap /appl/ \ |