Enhance Containerfile: Update Yaak installation to fetch the latest version from GitHub
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/cron/ci Pipeline was successful

This commit is contained in:
2025-11-05 11:25:37 +01:00
parent a084a585dc
commit a3e826358a

View File

@@ -47,8 +47,9 @@ RUN dnf install -y \
&& dnf clean all \ && dnf clean all \
&& rm -rf /var/cache/dnf && rm -rf /var/cache/dnf
#Installation de Yaak #Installation de Yaak (dernière version depuis GitHub)
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 \ 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 \ && dnf install -y /tmp/yaak.rpm \
&& rm -f /tmp/yaak.rpm && rm -f /tmp/yaak.rpm