Files
crawlab/docker/base-image/install/deps/deps.sh
Marvin Zhang 891619457c 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.
2024-12-31 15:05:55 +08:00

25 lines
383 B
Bash

#!/bin/bash
# Fail on error
set -e
# Ensure directory mode of /tmp is world-writable
chmod 777 /tmp
# Update package index
apt-get update
# Install essential dependencies
apt-get install -y \
curl \
wget \
zip \
unzip \
git \
iputils-ping \
nginx \
jq \
net-tools
# Add source /etc/profile to ~/.bashrc
echo "source /etc/profile" >> ~/.bashrc