mirror-test/setupbuild.sh
Shaquille Soekhlal 24cd575b27
Some checks failed
continuous-integration/drone/push Build is failing
Add 'setupbuild.sh'
2022-03-28 18:21:35 +02:00

6 lines
214 B
Bash

#!/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