Update npm_setup.sh

pull/13/head
tteckster 3 years ago committed by GitHub
parent 44ae530f98
commit 42d7eb2b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,13 +23,17 @@ function msg() {
echo -e "$TEXT" echo -e "$TEXT"
} }
LASTCMD="" # Prepare container OS
WGETOPT="-t 1 -T 15 -q" msg "Setting up container OS..."
sed -i "/$LANG/ s/\(^# \)//" /etc/locale.gen
# Cleanup locale-gen >/dev/null
apt-get remove --purge -y build-essential python3-dev git -qq &>/dev/null apt-get -y purge openssh-{client,server} >/dev/null
apt-get autoremove -y -qq &>/dev/null apt-get autoremove >/dev/null
apt-get clean
# Update container OS
msg "Updating container OS..."
apt update &>/dev/null
apt-get -qqy upgrade &>/dev/null
# Install dependencies # Install dependencies
echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m" echo -e "${CHECKMARK} \e[1;92m Installing Dependencies... \e[0m"

Loading…
Cancel
Save

Powered by BW's shoe-string budget.