mirror of
https://gitlab.archlinux.org/archlinux/archlinux-docker.git
synced 2026-01-08 02:41:32 +01:00
Release 20201023.0.6754
This commit is contained in:
parent
197fc6ff36
commit
5b3de15ee6
@ -1,7 +1,17 @@
|
||||
# We're using a multistage Docker build here in order to allow us to release a self-verifying
|
||||
# Docker image when built on the official Docker infrastructure.
|
||||
# They require us to verify the source integrity in some way while making sure that this is a
|
||||
# reproducible build.
|
||||
# See https://github.com/docker-library/official-images#image-build
|
||||
# In order to achieve this, we externally host the rootfs archives and their checksums and then
|
||||
# just download and verify it in the first stage of this Dockerfile.
|
||||
# The second stage is for actually configuring the system a little bit.
|
||||
# Some templating is done in order to allow us to easily build different configurations and to
|
||||
# allow us to automate the releaes process.
|
||||
FROM archlinux:latest AS verify
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
RUN ROOTFS="$(curl --continue-at - --remote-name --write-out "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/uploads/49a5060351ef28a3cd8494f591ceed3b/base-devel-20201020.6556.tar.xz)" && \
|
||||
sha256sum -c <<< "84c0bb4c1ab1d937980acd9cf2165930db43180c35674b08c32e6810fdcb2e1b base-devel-20201020.6556.tar.xz" && \
|
||||
RUN ROOTFS="$(curl --continue-at - --remote-name --write-out "%{filename_effective}" https://gitlab.archlinux.org/api/v4/projects/10185/packages/generic/rootfs/20201023.0.6754/base-devel-20201023.0.6754.tar.xz)" && \
|
||||
sha256sum -c <<< "7c547a1d692e7513ac6af1634bc39e7ceb5ff2fb8a16a8fcc53916d4bd557351 base-devel-20201023.0.6754.tar.xz" && \
|
||||
mkdir /rootfs && \
|
||||
tar -C /rootfs --extract --auto-compress --file "${ROOTFS}"
|
||||
|
||||
|
||||
@ -1,7 +1,17 @@
|
||||
# We're using a multistage Docker build here in order to allow us to release a self-verifying
|
||||
# Docker image when built on the official Docker infrastructure.
|
||||
# They require us to verify the source integrity in some way while making sure that this is a
|
||||
# reproducible build.
|
||||
# See https://github.com/docker-library/official-images#image-build
|
||||
# In order to achieve this, we externally host the rootfs archives and their checksums and then
|
||||
# just download and verify it in the first stage of this Dockerfile.
|
||||
# The second stage is for actually configuring the system a little bit.
|
||||
# Some templating is done in order to allow us to easily build different configurations and to
|
||||
# allow us to automate the releaes process.
|
||||
FROM archlinux:latest AS verify
|
||||
SHELL ["/bin/bash", "-c"]
|
||||
RUN ROOTFS="$(curl --continue-at - --remote-name --write-out "%{filename_effective}" https://gitlab.archlinux.org/archlinux/archlinux-docker/uploads/93e7d135858872fa3aa626a5fe2719ea/base-20201020.6556.tar.xz)" && \
|
||||
sha256sum -c <<< "c980d72136d9db1d82be7844a09341f0ccfc211a2a0ac94d1c471d9aa4f2fba3 base-20201020.6556.tar.xz" && \
|
||||
RUN ROOTFS="$(curl --continue-at - --remote-name --write-out "%{filename_effective}" https://gitlab.archlinux.org/api/v4/projects/10185/packages/generic/rootfs/20201023.0.6754/base-20201023.0.6754.tar.xz)" && \
|
||||
sha256sum -c <<< "ded8467a888c78ab0838fb7841a58b45c5004685fde82631ff787d4b1ce60dd7 base-20201023.0.6754.tar.xz" && \
|
||||
mkdir /rootfs && \
|
||||
tar -C /rootfs --extract --auto-compress --file "${ROOTFS}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user