Turns out we need --continue-at - for local builds still

This commit is contained in:
Sven-Hendrik Haase 2020-10-25 05:09:47 +01:00
parent ca6e2dbddf
commit 4443f7f8bd
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -11,7 +11,7 @@
FROM archlinux:latest AS verify
COPY TEMPLATE_ROOTFS_FILE /
SHELL ["/bin/bash", "-c"]
RUN ROOTFS="$(curl -OJL -w "%{filename_effective}" TEMPLATE_ROOTFS_URL)" && \
RUN ROOTFS="$(curl -OJL --continue-at - -w "%{filename_effective}" TEMPLATE_ROOTFS_URL)" && \
sha256sum -c <<< "TEMPLATE_ROOTFS_HASH" && \
mkdir /rootfs && \
tar -C /rootfs --extract --auto-compress --file "${ROOTFS}"