| # 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 |