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

This commit is contained in:
Shaquille Soekhlal 2022-03-28 18:21:35 +02:00
parent 2f2e235203
commit 24cd575b27

6
setupbuild.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
useradd --no-create-home --shell=/bin/sh 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/src