xref: /aosp_15_r20/external/grpc-grpc/templates/tools/dockerfile/passwordless_sudo.include (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1# Passwordless sudo for all users
2# Bazel docker sandbox and bazel RBE run scripts under docker
3# as a regular user, but sometimes we need to be
4# able to do something with root privileges.
5RUN apt-get update && apt-get install -y sudo && apt-get clean
6RUN echo 'ALL ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
7