From 6f0eaaa6130ad6440cc29bea6ed4a2fb9ea29c97 Mon Sep 17 00:00:00 2001 From: retr0 <42kdesigners@gmail.com> Date: Fri, 23 Oct 2026 18:06:55 +0200 Subject: [PATCH] feat: Folding@home client 8.5.6 pinned, debian-base 9.5.1 (v0.8.3) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01CGNdWh2jLNNb3tb9v1WEuK --- CHANGELOG.md | 4 ++++ Dockerfile | 7 +++++-- build.yaml | 4 ++-- config.yaml | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d7d027e..13fd6cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.8.3 +- Folding@home Client auf 8.5.6 aktualisiert und fest im Dockerfile hinterlegt (`FAH_VERSION`), damit neue Client-Versionen als Add-on-Update bei allen ankommen +- Basis-Image `hassio-addons/debian-base` 7.3.1 → 9.5.1 + ## 0.8.2 - Add-on-Optionen werden jetzt korrekt über `bashio::config` ausgelesen (statt fehlerhafter Env-Var-Substitution) - `--power`-Flag entfernt (wird von FAH 8 nicht unterstützt, Leistung über Web-Interface steuerbar) diff --git a/Dockerfile b/Dockerfile index 94005e7..828bbdf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,8 @@ ARG BUILD_DATE ARG BUILD_REF ARG BUILD_VERSION ARG BUILD_ARCH +# Bump this (and config.yaml version) to ship a new FAH client to all installs +ARG FAH_VERSION="8.5.6" LABEL \ io.hass.name="Folding@home" \ @@ -39,9 +41,10 @@ RUN \ FAH_WORKER="debian-10-64bit"; \ fi && \ DOWNLOAD_PATH=$(curl -fsSL "https://download.foldingathome.org/releases/public/fah-client/meta.json" | \ - jq -r --arg worker "${FAH_WORKER}" \ - '.[] | select(.worker == $worker and .mode == "release" and (.package | endswith(".tar.bz2"))) | .package' \ + jq -r --arg worker "${FAH_WORKER}" --arg ver "${FAH_VERSION}" \ + '.[] | select(.worker == $worker and .mode == "release" and (.version | map(tostring) | join(".")) == $ver and (.package | endswith(".tar.bz2"))) | .package' \ | head -1) && \ + test -n "${DOWNLOAD_PATH}" || { echo "FAH ${FAH_VERSION} not found for ${FAH_WORKER}"; exit 1; } && \ echo "Downloading FAH client: ${DOWNLOAD_PATH}" && \ curl -fsSL "https://download.foldingathome.org/releases/public/fah-client/${DOWNLOAD_PATH}" \ -o /tmp/fah.tar.bz2 && \ diff --git a/build.yaml b/build.yaml index 030fdcb..c98037b 100644 --- a/build.yaml +++ b/build.yaml @@ -1,4 +1,4 @@ build_from: - amd64: ghcr.io/hassio-addons/debian-base/amd64:7.3.1 - aarch64: ghcr.io/hassio-addons/debian-base/aarch64:7.3.1 + amd64: ghcr.io/hassio-addons/debian-base/amd64:9.5.1 + aarch64: ghcr.io/hassio-addons/debian-base/aarch64:9.5.1 squash: false diff --git a/config.yaml b/config.yaml index ca0463e..7de999b 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,5 @@ name: Folding@home -version: 0.8.2 +version: 0.8.3 slug: foldingathome description: Run Folding@home to contribute to scientific research url: https://gitea.bitfire.work/retr0/dont-stop-folding