开发容器配置-初版

This commit is contained in:
2026-02-15 00:09:53 +08:00
parent 5ba8072b6f
commit 4285293f82

View File

@@ -9,7 +9,8 @@ fi
# 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
echo "" > /etc/profile.d/00-restore-env.sh
echo $SHELL
echo "export PATH=${PATH//$(sh -lc 'echo $PATH')/\$PATH}" > /etc/profile.d/00-restore-env.sh
chmod +x /etc/profile.d/00-restore-env.sh
export DEBIAN_FRONTEND=noninteractive