| LABEL org.opencontainers.image.title=Arch Linux base-devel Image |
| LABEL org.opencontainers.image.description=Official containerd image of Arch Linux, a simple, lightweight Linux distribution aimed for flexibility. |
| LABEL org.opencontainers.image.authors=Santiago Torres-Arias <santiago@archlinux.org> (@SantiagoTorres), Christian Rebischke <Chris.Rebischke@archlinux.org> (@shibumi), Justin Kromlinger <hashworks@archlinux.org> (@hashworks) |
| LABEL org.opencontainers.image.url=https://gitlab.archlinux.org/archlinux/archlinux-docker/-/blob/master/README.md |
| 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=20250420.0.338771 |
| LABEL org.opencontainers.image.revision=ae0527df18a9c5b94b28351b2265a20012d2fda0 |
| LABEL org.opencontainers.image.created=2025-04-20T00:07:41+00:00 |
| COPY /rootfs/ / # buildkit |
| RUN /bin/sh -c ldconfig && sed -i '/BUILD_ID/a VERSION_ID=20250420.0.338771' /etc/os-release # buildkit |
| ENV LANG=C.UTF-8 |
| CMD ["/usr/bin/bash"] |
| ADD rootca.pem /root/ # buildkit |
| RUN /bin/sh -c trust anchor /root/rootca.pem && update-ca-trust # buildkit |
| RUN /bin/sh -c cat > /etc/pacman.d/mirrorlist <<'EOF'
Server = https://archlinux.cs.nycu.edu.tw/$repo/os/$arch
EOF # buildkit |
| RUN /bin/sh -c cat >> /etc/pacman.conf <<'EOF'
[custom]
SigLevel = Optional TrustAll
Server = https://repo.konchin.com/$repo/os/$arch
EOF # buildkit |
| RUN /bin/sh -c pacman-key --init && pacman-key --populate # buildkit |
| RUN /bin/sh -c pacman -Syu --needed --noconfirm nodejs minio-client git # buildkit |
| RUN /bin/sh -c echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers # buildkit |
| RUN /bin/sh -c useradd -mG wheel -d /build builder # buildkit |
| WORKDIR /build |
| ENTRYPOINT ["/usr/bin/env"] |
| CMD ["bash"] |