Drop apk update since we use --no-cache

This commit is contained in:
Justin Kromlinger 2020-11-02 20:13:19 +01:00
parent 2f647bce74
commit 7d5a90c0a0
No known key found for this signature in database
GPG Key ID: 69EF6D9E49A64EB8

View File

@ -10,7 +10,7 @@
# allow us to automate the releaes process.
FROM alpine:3.12 AS verify
COPY TEMPLATE_ROOTFS_FILE /
RUN apk update && apk add --no-cache curl bash
RUN apk add --no-cache curl bash
SHELL ["/bin/bash", "-c"]
RUN ROOTFS="$(curl -sOJL --continue-at - -w "%{filename_effective}" TEMPLATE_ROOTFS_URL)" && \
sha256sum -c <<< "TEMPLATE_ROOTFS_HASH" && \