Skip to content

Instantly share code, notes, and snippets.

@John-Dormevil
Last active February 21, 2018 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save John-Dormevil/af9cb2848cd6a593945e2bd2970c9917 to your computer and use it in GitHub Desktop.
Save John-Dormevil/af9cb2848cd6a593945e2bd2970c9917 to your computer and use it in GitHub Desktop.
Add user [builder] in alpine docker
#!/bin/sh -x
adduser -G abuild -g "Alpine Package Builder" -s /bin/sh -D builder
echo "builder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment