From c7bed3c1c55f6f0d7cfc9f1e7d007784f25b696d Mon Sep 17 00:00:00 2001 From: Arch Linux Docker release bot <project10185_bot2@example.com> Date: Sun, 22 Oct 2023 13:41:49 +0000 Subject: [PATCH] Release 20231022.0.186697 --- .gitlab-ci.yml | 2 +- Dockerfile.base | 15 ++++++++------- Dockerfile.base-devel | 15 ++++++++------- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a64387e7..2d1fc5cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -244,7 +244,7 @@ release: echo "Uploading ${group}.tar.zst.SHA256" curl -sSf --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file output/${group}.tar.zst.SHA256 ${PACKAGE_REGISTRY_URL}/${group}-${BUILD_VERSION}.tar.zst.SHA256 package_url=$(./ci/get-public-download-for-generic-package.sh ${group}-${BUILD_VERSION}.tar.zst) - ./scripts/make-dockerfile.sh "${group}" "output" "curl -sOJL \"${package_url}\"" "${group}" + ./scripts/make-dockerfile.sh "${group}-${BUILD_VERSION}.tar.zst" "${group}" "output" "curl -sOJL \"${package_url}\"" "${group}" sed -i "/^COPY ${group}.tar.zst \/$/d" output/Dockerfile.${group} done - > diff --git a/Dockerfile.base b/Dockerfile.base index 62a989d2..4da028d5 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -11,14 +11,15 @@ # Note: Only official DockerHub images are allowed, see https://gitlab.archlinux.org/archlinux/archlinux-docker/-/commit/daa67d18579024947d69a45e6d028c5adb1c8c23 # While we could use archlinux:base it could also break our build process, so we avoid dog fooding here FROM alpine:3.18 AS verify +COPY base-20231022.0.186697.tar.zst / RUN apk add --no-cache curl tar zstd -RUN curl -sOJL "https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/5172/download" && \ - echo "47c882ef76f9efc0445691d2a7b9ead6846b4d8e9d4379af8f874898726924f7 base-20231022.0.186671.tar.zst" > /tmp/sha256sums.txt && \ +RUN curl -sOJL "https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/5176/download" && \ + echo "800025f6518c9c2bd48917692ec05599be9e095d62bfa149e0cc6212abb65f4f base-20231022.0.186697.tar.zst" > /tmp/sha256sums.txt && \ sha256sum -c /tmp/sha256sums.txt && \ mkdir /rootfs && \ - tar -C /rootfs --extract --file base.tar.zst + tar -C /rootfs --extract --file base-20231022.0.186697.tar.zst FROM scratch AS root @@ -29,14 +30,14 @@ LABEL org.opencontainers.image.url="https://gitlab.archlinux.org/archlinux/archl LABEL org.opencontainers.image.documentation="https://wiki.archlinux.org/title/Docker#Arch_Linux" LABEL org.opencontainers.image.source="https://gitlab.archlinux.org/archlinux/archlinux-docker" LABEL org.opencontainers.image.licenses="GPL-3.0-or-later" -LABEL org.opencontainers.image.version="20231022.0.186671" -LABEL org.opencontainers.image.revision="82f45449174e3ccb7d53ee6836501ef4e74e307d" -LABEL org.opencontainers.image.created="2023-10-22T13:09:44+00:00" +LABEL org.opencontainers.image.version="20231022.0.186697" +LABEL org.opencontainers.image.revision="fb332d2218739a4a1900835773e35d17279b972c" +LABEL org.opencontainers.image.created="2023-10-22T13:41:46+00:00" COPY --from=verify /rootfs/ / RUN ldconfig && \ - sed -i '/BUILD_ID/a VERSION_ID=20231022.0.186671' /etc/os-release + sed -i '/BUILD_ID/a VERSION_ID=20231022.0.186697' /etc/os-release ENV LANG=C.UTF-8 CMD ["/usr/bin/bash"] diff --git a/Dockerfile.base-devel b/Dockerfile.base-devel index 7a5b14af..d078b16d 100644 --- a/Dockerfile.base-devel +++ b/Dockerfile.base-devel @@ -11,14 +11,15 @@ # Note: Only official DockerHub images are allowed, see https://gitlab.archlinux.org/archlinux/archlinux-docker/-/commit/daa67d18579024947d69a45e6d028c5adb1c8c23 # While we could use archlinux:base it could also break our build process, so we avoid dog fooding here FROM alpine:3.18 AS verify +COPY base-devel-20231022.0.186697.tar.zst / RUN apk add --no-cache curl tar zstd -RUN curl -sOJL "https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/5174/download" && \ - echo "7e1f47795043ade5f8d6dd0a94d6c21615da98463eb3a2284738ab372f867dbe base-devel-20231022.0.186671.tar.zst" > /tmp/sha256sums.txt && \ +RUN curl -sOJL "https://gitlab.archlinux.org/archlinux/archlinux-docker/-/package_files/5178/download" && \ + echo "ce4a7179f0d4c0a070990bfed176a2919b977465b9ac934dc2b54d904d2b925b base-devel-20231022.0.186697.tar.zst" > /tmp/sha256sums.txt && \ sha256sum -c /tmp/sha256sums.txt && \ mkdir /rootfs && \ - tar -C /rootfs --extract --file base-devel.tar.zst + tar -C /rootfs --extract --file base-devel-20231022.0.186697.tar.zst FROM scratch AS root @@ -29,14 +30,14 @@ LABEL org.opencontainers.image.url="https://gitlab.archlinux.org/archlinux/archl LABEL org.opencontainers.image.documentation="https://wiki.archlinux.org/title/Docker#Arch_Linux" LABEL org.opencontainers.image.source="https://gitlab.archlinux.org/archlinux/archlinux-docker" LABEL org.opencontainers.image.licenses="GPL-3.0-or-later" -LABEL org.opencontainers.image.version="20231022.0.186671" -LABEL org.opencontainers.image.revision="82f45449174e3ccb7d53ee6836501ef4e74e307d" -LABEL org.opencontainers.image.created="2023-10-22T13:09:47+00:00" +LABEL org.opencontainers.image.version="20231022.0.186697" +LABEL org.opencontainers.image.revision="fb332d2218739a4a1900835773e35d17279b972c" +LABEL org.opencontainers.image.created="2023-10-22T13:41:49+00:00" COPY --from=verify /rootfs/ / RUN ldconfig && \ - sed -i '/BUILD_ID/a VERSION_ID=20231022.0.186671' /etc/os-release + sed -i '/BUILD_ID/a VERSION_ID=20231022.0.186697' /etc/os-release ENV LANG=C.UTF-8 CMD ["/usr/bin/bash"] -- GitLab