mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
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:
@@ -13,6 +13,8 @@ apt-get update
|
||||
apt-get install -y \
|
||||
curl \
|
||||
wget \
|
||||
zip \
|
||||
unzip \
|
||||
git \
|
||||
iputils-ping \
|
||||
nginx \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user