firedragon/setupbuild.sh
Shaquille Soekhlal 5dfceada59
Some checks failed
continuous-integration/drone/push Build is failing
Add 'setupbuild.sh'
2022-04-15 13:06:29 +02:00

7 lines
262 B
Bash

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/