remove temp. sudo access 82/104382/1
authorjhh <jorge.hernandez-herrero@att.com>
Wed, 25 Mar 2020 15:40:26 +0000 (10:40 -0500)
committerjhh <jorge.hernandez-herrero@att.com>
Wed, 25 Mar 2020 15:42:18 +0000 (10:42 -0500)
Issue-ID: POLICY-2370
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I221fb5887d280536fbfef120b0a2cf41813684fc

packages/docker/src/main/docker/Dockerfile

index eea785b..20081f7 100644 (file)
@@ -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 && \