summaryrefslogtreecommitdiffstats
path: root/wfenginemgrservice/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2020-03-05 14:20:10 +0800
committeryangyan <yangyanyj@chinamobile.com>2020-03-05 14:20:23 +0800
commitbae9a31570313a5498e958bd074aef52564e9554 (patch)
tree9f891f82a15ca5946c0c44a2446c821c257066ce /wfenginemgrservice/src/main/docker/Dockerfile
parentf7655321fd2323c28855c555bf8cc10a5dcad08c (diff)
Remove sudo capability for onap user for VF-C wfengine activiti-extension & wfenginemgrserver docker
Change-Id: I1e1d347c31d1fbd4959934c7aaf0a72db03cb006 Issue-ID: VFC-1640 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'wfenginemgrservice/src/main/docker/Dockerfile')
-rw-r--r--wfenginemgrservice/src/main/docker/Dockerfile4
1 files changed, 0 insertions, 4 deletions
diff --git a/wfenginemgrservice/src/main/docker/Dockerfile b/wfenginemgrservice/src/main/docker/Dockerfile
index 0758a3b..d70fa73 100644
--- a/wfenginemgrservice/src/main/docker/Dockerfile
+++ b/wfenginemgrservice/src/main/docker/Dockerfile
@@ -5,12 +5,8 @@ WORKDIR /home/onap/workflow/wfenginemgrservice
EXPOSE 10550
RUN apk add --update curl && \
- apk --no-cache add sudo && \
addgroup -g 1000 -S onap && \
adduser onap -D -G onap -u 1000 && \
- chmod u+w /etc/sudoers && \
- sed -i '/User privilege/a\\onap ALL=(ALL:ALL) NOPASSWD:ALL' /etc/sudoers && \
- chmod u-x /etc/sudoers && \
rm -rf /var/cache/apk/*
ADD bin /home/onap/workflow/wfenginemgrservice/