Skip to content

Commit

Permalink
Make sure /etc/sudoers.d/ always exist
Browse files Browse the repository at this point in the history
  • Loading branch information
KSXGitHub committed Nov 14, 2022
1 parent bdefd9f commit acad6af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ set -o errexit -o pipefail -o nounset
echo '::group::Creating builder user'
useradd --create-home --shell /bin/bash builder
passwd --delete builder
mkdir -p /etc/sudoers.d/
echo "builder ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/builder
echo '::endgroup::'

Expand Down

0 comments on commit acad6af

Please sign in to comment.