diff --git a/setupbuild.sh b/setupbuild.sh new file mode 100644 index 0000000..96481cf --- /dev/null +++ b/setupbuild.sh @@ -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/ \ No newline at end of file