开发容器配置-初版

This commit is contained in:
2026-02-14 23:58:39 +08:00
parent 424c891a43
commit 09b8594975

View File

@@ -9,7 +9,7 @@ fi
# Ensure that login shells get the correct path if the user updated the PATH using ENV. # Ensure that login shells get the correct path if the user updated the PATH using ENV.
rm -f /etc/profile.d/00-restore-env.sh rm -f /etc/profile.d/00-restore-env.sh
echo "export PATH=${PATH//$(sh -lc 'echo $PATH')/\$PATH}" > /etc/profile.d/00-restore-env.sh echo "export PATH=${PATH//$(/bin/bash -lc 'echo $PATH')/\$PATH}" > /etc/profile.d/00-restore-env.sh
chmod +x /etc/profile.d/00-restore-env.sh chmod +x /etc/profile.d/00-restore-env.sh
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive