mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-24 17:41:03 +01:00
24 lines
619 B
Bash
24 lines
619 B
Bash
#!/bin/bash
|
|
|
|
# Ensure directory mode of /tmp is world-writable (readable, writable, executable by all users)
|
|
# This is important for temporary file operations in containerized environments
|
|
chmod 777 /tmp
|
|
|
|
# Update the package index files from the repositories
|
|
# This ensures we get the latest versions of packages
|
|
apt-get update
|
|
|
|
# Install common dependencies with detailed explanations
|
|
# -y flag means "yes" to all prompts (non-interactive installation)
|
|
apt-get install -y \
|
|
curl \
|
|
wget \
|
|
git \
|
|
net-tools \
|
|
iputils-ping \
|
|
ntp \
|
|
ntpdate \
|
|
nginx \
|
|
unzip \
|
|
gnupg2 \
|
|
libc6 |