开发容器配置-初版
This commit is contained in:
@@ -9,7 +9,8 @@ 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 "" > /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
|
chmod +x /etc/profile.d/00-restore-env.sh
|
||||||
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|||||||
Reference in New Issue
Block a user