blob: ee9fc2e425231e0a057200437b3117d5911cb577 [file] [log] [blame]
# Passwordless sudo for all users
# Bazel docker sandbox and bazel RBE run scripts under docker
# as a regular user, but sometimes we need to be
# able to do something with root privileges.
RUN apt-get update && apt-get install -y sudo && apt-get clean
RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers