Update 'setupbuild.sh'
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Shaquille Soekhlal 2022-03-29 02:32:23 +02:00
parent 0868a1a7dc
commit 9749229d20

View File

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