Commit ae3de3fd by John Eskew Committed by Feanil Patel

Grant 'go' user sudo perms for /usr/local/bin/pip

parent 5d0fd1ad
......@@ -59,7 +59,7 @@ RUN /bin/bash /tmp/docker/docker_install.sh
RUN usermod -aG docker go
# Assign the go user root privlidges
RUN printf "\ngo ALL=(ALL:ALL) NOPASSWD: /usr/bin/pip\n" >> /etc/sudoers
RUN printf "\ngo ALL=(ALL:ALL) NOPASSWD: /usr/bin/pip, /usr/local/bin/pip\n" >> /etc/sudoers
# Install AWS command-line interface - for AWS operations in a go-agent task.
RUN pip install awscli
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment