summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-03-25 10:40:26 -0500
committerjhh <jorge.hernandez-herrero@att.com>2020-03-25 10:42:18 -0500
commit2c7a0d5541ba37af068782b0af0482e41f1d4941 (patch)
treed4b5c81322c417cec817fef68910fd1ac1b330a7
parent06a0e4aa726fbb4c8f82022508fc5dc1a2bea924 (diff)
remove temp. sudo access
Issue-ID: POLICY-2370 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I221fb5887d280536fbfef120b0a2cf41813684fc
-rw-r--r--packages/docker/src/main/docker/Dockerfile2
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/docker/src/main/docker/Dockerfile b/packages/docker/src/main/docker/Dockerfile
index eea785bd..20081f71 100644
--- a/packages/docker/src/main/docker/Dockerfile
+++ b/packages/docker/src/main/docker/Dockerfile
@@ -29,8 +29,6 @@ RUN apt-get update \
net-tools netcat sudo \
&& update-alternatives --install /usr/bin/python python /usr/bin/python3 0 \
&& update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1 \
- && adduser policy sudo \
- && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
&& pip install http-prompt
RUN mkdir -p $POLICY_CONFIG $POLICY_LOGS $POLICY_INSTALL_INIT && \