Commit 222e27cd by Brian Beggs

go user may now execute the pip command as root.

parent f03da1db
......@@ -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