mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2025-08-05 13:47:16 +02:00
scripts/make-dockerfile.sh: tweak sha256 sum handling
Drop the spurious cat, we already echo the value the like above so it's pretty clear what it is in the logs. While here, rename the file to the what's commonly used by us (see the ISOs) and others, while removing the misleading "rootfs.tar" - we're having a tar.zst tarball. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
c4b62bb18f
commit
2f43fc413a
@ -17,9 +17,8 @@ RUN apk add --no-cache curl tar zstd
|
||||
|
||||
# TEMPLATE_ROOTFS_RELEASE_URL
|
||||
RUN TEMPLATE_ROOTFS_DOWNLOAD && \
|
||||
echo "TEMPLATE_ROOTFS_HASH" > /tmp/rootfs.tar.sha256 && \
|
||||
cat /tmp/rootfs.tar.sha256 && \
|
||||
sha256sum -c /tmp/rootfs.tar.sha256 && \
|
||||
echo "TEMPLATE_ROOTFS_HASH" > /tmp/sha256sums.txt && \
|
||||
sha256sum -c /tmp/sha256sums.txt && \
|
||||
mkdir /rootfs && \
|
||||
tar -C /rootfs --extract --file "${ROOTFS}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user