From 68e27e25600216eb10ddc6ca56d5a7a11bbfb32a Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sat, 3 Oct 2026 09:54:48 +1000 Subject: [PATCH] Disable dnf zchunk; artifactapi ignores Range --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 65bf7de..5df4434 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG DISTRO=alma9 COPY distros/${DISTRO}/ /tmp/distro/ # DL3041: versions are pinned by the estate dnf repos, not here. SC2086: $PACKAGES is a # word list on purpose. DL4006: the only pipe ends in sha256sum, whose status is the -# pipeline's, and set -e catches it. +# pipeline's, and set -e catches it. zchunk is off because artifactapi ignores Range requests. # hadolint ignore=DL3041,DL4006,SC2086 RUN set -eux; \ . /tmp/distro/distro.env; \ @@ -14,6 +14,7 @@ RUN set -eux; \ echo "$CA_RPM_SHA256 /tmp/ca.rpm" | sha256sum -c -; \ rpm -i /tmp/ca.rpm; \ cp /tmp/distro/yum.repos.d/*.repo /etc/yum.repos.d/; \ + sed -i '/^\[main\]/a zchunk=False' /etc/dnf/dnf.conf; \ dnf makecache; \ dnf update -y; \ dnf install -y $PACKAGES; \