feat: enhance Docker base image installation scripts

- Added 'zip' and 'unzip' utilities to the dependency installation script for improved file handling capabilities.
- Updated usage instructions in the Python installation script to include a new 'setup' command for configuring pyenv, enhancing user experience and script functionality.
This commit is contained in:
Marvin Zhang
2024-12-31 15:05:55 +08:00
parent 25fe273a62
commit 891619457c
2 changed files with 5 additions and 3 deletions

View File

@@ -13,6 +13,8 @@ apt-get update
apt-get install -y \
curl \
wget \
zip \
unzip \
git \
iputils-ping \
nginx \

View File

@@ -7,10 +7,10 @@ set -e
print_usage() {
echo "Usage: $0 <command> [version] [requirements]"
echo "Commands:"
echo " install <version> - Install Python version (default: latest)"
echo " setup - Setup pyenv"
echo " install <version> - Install Python version (default: latest)"
echo " uninstall <version> - Uninstall Python version"
echo " switch <version> - Switch to a different Python version"
echo " list - List installed Python versions"
echo " list - List installed Python versions"
}
# Function to install Python dependencies