mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
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
This commit is contained in:
1 parent
18b039be1e
commit
1f2c919f56
34 files changed
+4188
-162
No files matched your search
@@ -1,23 +1,24 @@
|
||||
# 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."
|
||||
#!/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
|
||||
Reference in new issue
Block a user