just try root instead
This commit is contained in:
parent
6002ae1419
commit
5ac08545ce
1 changed files with 2 additions and 5 deletions
|
@ -1,13 +1,10 @@
|
|||
#!/usr/bin/env sh
|
||||
: \
|
||||
&& [ "$(id -u)" -eq 0 ] \
|
||||
&& [ -s build-all ] \
|
||||
&& { [ -d out ] || mkdir out || exit ;} \
|
||||
&& chmod -R 0755 . \
|
||||
&& chown -R 0:1000 . \
|
||||
&& chmod -R 0775 out \
|
||||
&& podman run -v="$(readlink -f .)":/stargazing -e=TERM=$TERM -it --rm \
|
||||
--security-opt label=disable --user podman quay.io/podman/stable \
|
||||
--cap-add=sys_admin,mknod --device=/dev/fuse --security-opt label=disable \
|
||||
--user root quay.io/podman/stable \
|
||||
/stargazing/build-all \
|
||||
|| { e=$?; echo something died; exit $e ;} \
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue