From 9a2ada4336fc4c8aad1c630c05ca46cf4fd70988 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 25 Feb 2026 14:19:10 +0100 Subject: [PATCH] fix(runtipi): drop Alpine support; add OS compat notes to docker addon JSONs --- frontend/public/json/coolify.json | 4 ++++ frontend/public/json/dockge.json | 4 ++++ frontend/public/json/dokploy.json | 4 ++++ frontend/public/json/komodo.json | 4 ++++ frontend/public/json/runtipi.json | 4 ++++ tools/addon/runtipi.sh | 27 +++++++++++---------------- 6 files changed, 31 insertions(+), 16 deletions(-) diff --git a/frontend/public/json/coolify.json b/frontend/public/json/coolify.json index 4c45e9bc6..82fe06409 100644 --- a/frontend/public/json/coolify.json +++ b/frontend/public/json/coolify.json @@ -36,6 +36,10 @@ "text": "This is an addon script intended to be used on top of an existing Docker container.", "type": "info" }, + { + "text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)", + "type": "info" + }, { "text": "Initial setup will be done via the web interface on first access.", "type": "info" diff --git a/frontend/public/json/dockge.json b/frontend/public/json/dockge.json index 3b3917f0a..a0d60f184 100644 --- a/frontend/public/json/dockge.json +++ b/frontend/public/json/dockge.json @@ -36,6 +36,10 @@ "text": "This is an addon script intended to be used on top of an existing Docker container.", "type": "info" }, + { + "text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)", + "type": "info" + }, { "text": "To update, run the addon script again and select Update, or use: bash <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/dockge.sh)", "type": "info" diff --git a/frontend/public/json/dokploy.json b/frontend/public/json/dokploy.json index 10cd9c164..a07a2ec19 100644 --- a/frontend/public/json/dokploy.json +++ b/frontend/public/json/dokploy.json @@ -36,6 +36,10 @@ "text": "This is an addon script intended to be used on top of an existing Docker container.", "type": "info" }, + { + "text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)", + "type": "info" + }, { "text": "Initial setup will be done via the web interface on first access.", "type": "info" diff --git a/frontend/public/json/komodo.json b/frontend/public/json/komodo.json index 5d06098c9..e594ffc60 100644 --- a/frontend/public/json/komodo.json +++ b/frontend/public/json/komodo.json @@ -36,6 +36,10 @@ "text": "This is an addon script intended to be used on top of an existing Docker container.", "type": "info" }, + { + "text": "Execute within an existing LXC console (Debian / Ubuntu / Alpine supported)", + "type": "info" + }, { "text": "For admin username and password, run: cat ~/komodo.creds", "type": "info" diff --git a/frontend/public/json/runtipi.json b/frontend/public/json/runtipi.json index 045cb7e61..fc517447b 100644 --- a/frontend/public/json/runtipi.json +++ b/frontend/public/json/runtipi.json @@ -36,6 +36,10 @@ "text": "This is an addon script intended to be used on top of an existing Docker container.", "type": "info" }, + { + "text": "Execute within an existing LXC console (Debian / Ubuntu only)", + "type": "info" + }, { "text": "WARNING: Installation sources scripts outside of Community Scripts repo. Please check the source before installing.", "type": "warning" diff --git a/tools/addon/runtipi.sh b/tools/addon/runtipi.sh index aa14389b2..6b9e41ac4 100644 --- a/tools/addon/runtipi.sh +++ b/tools/addon/runtipi.sh @@ -76,16 +76,10 @@ function check_or_install_docker() { fi msg_info "Installing Docker" - if [[ -f /etc/alpine-release ]]; then - $STD apk add docker docker-cli-compose - $STD rc-service docker start - $STD rc-update add docker default - else - DOCKER_CONFIG_PATH='/etc/docker/daemon.json' - mkdir -p "$(dirname "$DOCKER_CONFIG_PATH")" - echo -e '{\n "log-driver": "journald"\n}' >"$DOCKER_CONFIG_PATH" - $STD sh <(curl -fsSL https://get.docker.com) - fi + DOCKER_CONFIG_PATH='/etc/docker/daemon.json' + mkdir -p "$(dirname "$DOCKER_CONFIG_PATH")" + echo -e '{\n "log-driver": "journald"\n}' >"$DOCKER_CONFIG_PATH" + $STD sh <(curl -fsSL https://get.docker.com) msg_ok "Installed Docker" } @@ -132,12 +126,8 @@ function install() { check_or_install_docker msg_info "Installing dependencies" - if [[ -f /etc/alpine-release ]]; then - $STD apk add --no-cache openssl gcompat - else - $STD apt-get update - $STD apt-get install -y openssl - fi + $STD apt-get update + $STD apt-get install -y openssl msg_ok "Installed dependencies" msg_warn "WARNING: This will run an external installer from https://runtipi.io/" @@ -183,6 +173,11 @@ if [[ "${type:-}" == "update" ]]; then exit 0 fi +if [[ -f /etc/alpine-release ]]; then + msg_error "${APP} does not support Alpine Linux. Please use a Debian or Ubuntu based LXC." + exit 1 +fi + header_info check_proxmox_host get_lxc_ip