Skip to content

Instantly share code, notes, and snippets.

@phelewski

phelewski/Dockerfile

Created May 12, 2020
Embed
What would you like to do?
Visual Studios Code Remote - Container Blog | Example non-root User with sudo
&& apt-get install -y sudo \
&& echo $USERNAME ALL=\(root\) NOPASSWD:/usr/sbin/foo > /etc/sudoers.d/$USERNAME \
&& chmod 0440 /etc/sudoers.d/$USERNAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.