From 4b036f101a18059ceaaf88c751f73a9e59951a54 Mon Sep 17 00:00:00 2001 From: Deckard Date: Mon, 13 Oct 2025 01:39:02 -0400 Subject: [PATCH] Fix script execution compatibility with Alpine containers - Add bash and full wget packages for script compatibility - Change script execution from /script to bash /script - Ensures GNU wget features work properly instead of busybox limitations - Scripts can now execute properly with PUID/PGID user mapping --- docker-compose-azerothcore-services.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose-azerothcore-services.yml b/docker-compose-azerothcore-services.yml index dc331b3..7450ac3 100644 --- a/docker-compose-azerothcore-services.yml +++ b/docker-compose-azerothcore-services.yml @@ -22,8 +22,8 @@ services: - | # Auto-detect package manager and install dependencies (as root) if command -v apk >/dev/null 2>&1; then - # Alpine Linux - apk add --no-cache curl unzip wget ca-certificates p7zip jq + # Alpine Linux - install full wget and bash for script compatibility + apk add --no-cache curl unzip wget bash ca-certificates p7zip jq elif command -v apt-get >/dev/null 2>&1; then # Ubuntu/Debian apt-get update && apt-get install -y --no-install-recommends curl unzip wget ca-certificates p7zip-full jq && rm -rf /var/lib/apt/lists/* @@ -43,7 +43,7 @@ services: echo "📥 Downloading client data script from GitHub..." curl -fsSL https://raw.githubusercontent.com/uprightbass360/acore-compose/main/scripts/download-client-data.sh -o /tmp/download-client-data.sh chmod +x /tmp/download-client-data.sh - /tmp/download-client-data.sh + bash /tmp/download-client-data.sh restart: "no" networks: - azerothcore @@ -199,7 +199,7 @@ services: command: - | # Install packages as root - apk add --no-cache curl + apk add --no-cache curl bash # Set ownership for module directories mkdir -p /scripts @@ -210,7 +210,7 @@ services: curl -fsSL https://raw.githubusercontent.com/uprightbass360/acore-compose/main/scripts/manage-modules-sql.sh -o /scripts/manage-modules-sql.sh chmod +x /tmp/manage-modules.sh /scripts/manage-modules-sql.sh - /tmp/manage-modules.sh + bash /tmp/manage-modules.sh restart: "no" networks: - azerothcore