Files
public-setupfiles/docker/install_docker_ubuntu.sh
T
Jarvis 1f2c919f56 fix: complete shellcheck fixes
- 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
2026-09-04 13:48:56 -05:00

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