feat: Folding@home client 8.5.6 pinned, debian-base 9.5.1 (v0.8.3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CGNdWh2jLNNb3tb9v1WEuK
This commit is contained in:
1 parent
94f5803141
commit
6f0eaaa613
4 files changed
+12
-5
No files matched your search
+5
-2
@@ -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 && \
|
||||
|
||||
Reference in new issue
Block a user