Add 'setupbuild.sh'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Shaquille Soekhlal 2022-04-15 13:06:29 +02:00
parent 39bd96bb84
commit 5dfceada59

7
setupbuild.sh Normal file
View File

@ -0,0 +1,7 @@
useradd --shell=/bin/bash build && usermod -L build
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
mkdir /home/build/
mkdir /home/build/.gnupg
chown -R build:build /home/build
chown -R build:build /drone/