mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:24:41 -06:00
- Fix CRLF line endings (SC1017) in 10 shell scripts - Add shebangs (SC2148) to 5 scripts missing them - Fix unquoted variables (SC2086) in kali-updates.sh - Add shellcheck disable directive for intentional eval usage - Fix missing space after ! in observium/custom_install.sh - Add security scan reports to .gitignore-safe location
24 lines
838 B
Bash
24 lines
838 B
Bash
#!/bin/bash
|
|
# Update package lists and install dependencies
|
|
sudo apt update
|
|
sudo apt-get install libffi-dev libssl-dev python3-dev python3-pip -y
|
|
|
|
# Script install docker
|
|
curl -fsSL https://get.docker.com -o get-docker.sh
|
|
sh get-docker.sh
|
|
|
|
# Script: install_docker_compose.sh
|
|
# Description: Script to install Docker Compose and its dependencies on Linux
|
|
|
|
# Install Docker Compose (v2) binary (standalone method)
|
|
DOCKER_COMPOSE_VERSION=2.27.0
|
|
sudo curl -L --fail "https://github.com/docker/compose/releases/download/v${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64" \
|
|
-o /usr/local/bin/docker-compose
|
|
sudo chmod +x /usr/local/bin/docker-compose
|
|
|
|
# Check if Docker Compose installation was successful
|
|
if [ $? -eq 0 ]; then
|
|
echo "Docker Compose is installed and ready to use."
|
|
else
|
|
echo "Failed to install Docker Compose."
|
|
fi |