Try out building as nobody
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Alexander Schäferdiek 2022-07-11 20:44:35 +02:00
parent 0f99006195
commit a4585b1c19

View file

@ -7,7 +7,13 @@ steps:
commands: commands:
- find usr/local/bin -type f -exec echo Testing {} \; -exec shellcheck {} \; - find usr/local/bin -type f -exec echo Testing {} \; -exec shellcheck {} \;
- name: build arch package - name: build arch package
image: archlinux/archlinux image: archlinux/archlinux:base-devel
commands: commands:
- cd _pkg - pacman -Syu
- makepkg -cs - mkdir /home/build
- cp -r /drone/src /home/build
- chgrp nobody /home/build
- chmod g+ws /home/build
- setfacl -m u::rwx,g::rwx /home/build
- setfacl -d --set u::rwx,g::rwx,o::- /home/build
- sudo -u nobody cd _pkg makepkg -cs