From 1d15a041f708fa5bf2ae84a5a9377ea5400f1ceb Mon Sep 17 00:00:00 2001 From: Justin Kromlinger Date: Thu, 16 Sep 2021 20:33:52 +0200 Subject: [PATCH] Drop -J / --remote-header-name from curl call It is incompatible with --continue-at. See [1]. [1] https://gitlab.archlinux.org/archlinux/archlinux-docker/-/jobs/34434#L72 --- Dockerfile.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.template b/Dockerfile.template index 0320331..4c05872 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -13,7 +13,7 @@ COPY TEMPLATE_ROOTFS_FILE / RUN apk add --no-cache curl bash SHELL ["/bin/bash", "-c"] # TEMPLATE_ROOTFS_RELEASE_URL -RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" TEMPLATE_ROOTFS_URL)" && \ +RUN ROOTFS="$(curl -sOL --continue-at - -w "%{filename_effective}" TEMPLATE_ROOTFS_URL)" && \ sha256sum -c <<< "TEMPLATE_ROOTFS_HASH" && \ mkdir /rootfs && \ tar -C /rootfs --extract --file "${ROOTFS}"