Give user rootless sudo
ci/woodpecker/push/woodpecker Pipeline failed Details

main
Jef Roosens 2021-12-31 14:56:12 +01:00
parent 4ed5b029c3
commit 68edb240ec
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ pipeline:
- groupadd -g 1000 builder - groupadd -g 1000 builder
- useradd -mg builder builder - useradd -mg builder builder
- chown -R builder:builder "$PWD" - chown -R builder:builder "$PWD"
- "echo 'builder ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
- su builder - su builder
# Build the package # Build the package
- makepkg -s - makepkg -s