ci: Skip installing deps if non-root
Assume in the pet/dev container case the user already has deps. And for Prow we're using the buildroot container which should have them.
This commit is contained in:
parent
57978fe099
commit
058178680f
@ -6,7 +6,7 @@ set -xeuo pipefail
|
||||
dn=$(dirname $0)
|
||||
. ${dn}/libbuild.sh
|
||||
|
||||
if [ -n "${SKIP_INSTALLDEPS:-}" ]; then
|
||||
if [ -n "${SKIP_INSTALLDEPS:-}" ] || test $(id -u) != 0; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user