Commit 4c2bb694 by Brian Beggs

Merge pull request #2985 from edx/bbeggs/go-agent-sudo

go user may now execute the pip command as root.
parents f03da1db 222e27cd
......@@ -30,6 +30,9 @@ RUN apt-get update && apt-get install -y -q \
COPY docker/build/go-agent/files/docker_install.sh /tmp/docker/
RUN /bin/bash /tmp/docker/docker_install.sh
# Assign the go user root privlidges
RUN printf "\ngo ALL=(ALL:ALL) NOPASSWD: /usr/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