Append hosts's PATH to the container

This commit is contained in:
Kron4ek 2021-03-27 16:55:05 +05:00 committed by GitHub
parent 409c8afbd2
commit b7b6883144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ run_bwrap () {
--proc /proc \
--ro-bind-try /usr/local /usr/local \
${dirs} ${unshare} ${net} \
--setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" \
--setenv PATH "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:${PATH}" \
"$@"
}