Fix bash process substitution by symlinking /dev/fd

This commit is contained in:
Kristóf Tóth 2020-05-22 15:35:24 +02:00
parent bf0c1d588a
commit e0e0107e13

View File

@ -11,6 +11,7 @@ nsjail -Mo
--cwd "${JAIL_HOME}" \
--tmpfsmount / \
--tmpfsmount /tmp --tmpfsmount /run \
--symlink /proc/self/fd:/dev/fd \
--bindmount_ro "${HERE}/entrypoint.sh:${JAIL_HOME}/entrypoint.sh" \
--bindmount_ro "${HERE}/gpg-keygen-params.txt:${JAIL_HOME}/gpg-keygen-params.txt" \
--bindmount_ro /bin --bindmount_ro /sbin \