From a3e826358af7b34d4b61fd058ce2287650ff9f92 Mon Sep 17 00:00:00 2001 From: qpismont Date: Wed, 5 Nov 2025 11:25:37 +0100 Subject: [PATCH] Enhance Containerfile: Update Yaak installation to fetch the latest version from GitHub --- Containerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index 0d9b827..5ddfc16 100644 --- a/Containerfile +++ b/Containerfile @@ -47,8 +47,9 @@ RUN dnf install -y \ && dnf clean all \ && rm -rf /var/cache/dnf -#Installation de Yaak -RUN wget https://github.com/mountain-loop/yaak/releases/download/v2025.7.0/yaak-2025.7.0-1.x86_64.rpm -O /tmp/yaak.rpm \ +#Installation de Yaak (dernière version depuis GitHub) +RUN YAAK_URL=$(curl -s https://api.github.com/repos/mountain-loop/yaak/releases/latest | jq -r '.assets[] | select(.name | contains("x86_64") and endswith(".rpm")) | .browser_download_url') \ + && wget "$YAAK_URL" -O /tmp/yaak.rpm \ && dnf install -y /tmp/yaak.rpm \ && rm -f /tmp/yaak.rpm