idkyet-builder (sha256:836475543ada0ec0fe983afe8971f53ff61d773f1784de294169bd469c3a6e9d)

Published 2025-12-08 01:09:02 +00:00 by FML128

Installation

docker pull git.fml128.ch/fml128/idkyet-builder@sha256:836475543ada0ec0fe983afe8971f53ff61d773f1784de294169bd469c3a6e9d
sha256:836475543ada0ec0fe983afe8971f53ff61d773f1784de294169bd469c3a6e9d

Image layers

/bin/sh
ARG TARGETARCH=amd64
COPY files/keys /keys # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c pacman-key --init && pacman-key --add /keys/*.asc && if [ "$TARGETARCH" = "amd64" ]; then echo "Server = https://mirror.init7.net/archlinux/\$repo/os/\$arch" > /etc/pacman.d/mirrorlist && echo "Server = https://mirror.metanet.ch/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist && echo "Server = https://mirror.puzzle.ch/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist && echo "Server = https://mirror.ungleich.ch/mirror/packages/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist && echo "Server = https://pkg.adfinis.com/archlinux/\$repo/os/\$arch" >> /etc/pacman.d/mirrorlist && pacman -Syu --noconfirm archlinux-keyring && pacman-key --populate archlinux && pacman-key --lsign-key 159B530F61813FB067DCFEB45B5525DF8EB9A8E1 && pacman-key --lsign-key 3038C77840D186ACAB972D50B4D82AFC37757617 && gpg --import /keys/159B530F61813FB067DCFEB45B5525DF8EB9A8E1.asc && echo -e "5\ny\n" | gpg --batch --command-fd=0 --edit-key 159B530F61813FB067DCFEB45B5525DF8EB9A8E1 trust && pacman-key --lsign-key 3056513887B78AEB && pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst' && pacman-key --lsign-key 882dcfe48e2051d48e2562abf3b607488db35a47 && pacman -U --noconfirm 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-keyring-20240331-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-mirrorlist-22-1-any.pkg.tar.zst' 'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-v3-mirrorlist-22-1-any.pkg.tar.zst'; elif [ "$TARGETARCH" = "arm64" ]; then echo "Server = https://eu.mirror.archlinuxarm.org/\$arch/\$repo/" > /etc/pacman.d/mirrorlist && pacman-key --populate archlinuxarm; fi # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c pacman -Sy --noconfirm --needed base-devel arch-install-scripts git dosfstools mtools libisoburn erofs-utils sbsigntools fuse-overlayfs buildah curl jq && sed -i -e 's|^#mount_program|mount_program|g' /etc/containers/storage.conf && useradd -m builder && echo 'builder ALL=(ALL:ALL) NOPASSWD:ALL' > /etc/sudoers.d/builder && NYDUS_VERSION=$(curl -sL https://api.github.com/repos/dragonflyoss/nydus/releases/latest | jq -r '.tag_name' | sed 's/^v//') && curl -L "https://github.com/dragonflyoss/nydus/releases/download/v${NYDUS_VERSION}/nydus-static-v${NYDUS_VERSION}-linux-${TARGETARCH}.tgz" -o /tmp/nydus.tgz && tar -xzf /tmp/nydus.tgz -C /tmp && mv /tmp/nydus-static/* /usr/local/bin/ && chmod +x /usr/local/bin/nydus* /usr/local/bin/nydusd /usr/local/bin/nydusctl /usr/local/bin/nydus-image && rm -rf /tmp/nydus.tgz /tmp/nydus-static # buildkit
USER builder
RUN |1 TARGETARCH=amd64 /bin/sh -c cd /tmp/ && curl --output aurutils.tar.gz https://aur.archlinux.org/cgit/aur.git/snapshot/aurutils.tar.gz && tar xf aurutils.tar.gz && cd aurutils && makepkg --syncdeps --noconfirm # buildkit
USER root
COPY files/pacman.conf.* /etc # buildkit
RUN |1 TARGETARCH=amd64 /bin/sh -c if [ "$TARGETARCH" = "amd64" ]; then cp /etc/pacman.conf.x86_64_v3 /etc/pacman.conf; fi && chmod 644 /etc/pacman.conf && pacman -Sy --noconfirm pacman && pacman -U --noconfirm /tmp/aurutils/aurutils-*.pkg.* && mkdir -p /aur && mv /tmp/aurutils/aurutils-*.pkg.* /aur/ && repo-add /aur/aur.db.tar.gz /aur/aurutils-*.pkg.* && echo "[aur]" >> /etc/pacman.conf && echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf && echo "Server = file:///aur" >> /etc/pacman.conf && if [ "$TARGETARCH" = "amd64" ]; then echo "[chaotic-aur]" >> /etc/pacman.conf && echo "Include = /etc/pacman.d/chaotic-mirrorlist" >> /etc/pacman.conf; fi && pacman -Syu --noconfirm && rm -rf /var/lib/pacman/sync/* && find /var/cache/pacman/ -type f -delete && rm /etc/pacman.d/gnupg/openpgp-revocs.d/* /etc/pacman.d/gnupg/private-keys-v1.d/* && find /var/lib/pacman/local/ -type f -name "desc" -exec sed -i '/^%INSTALLED_DB%$/,+2d' {} \; # buildkit
ENV _BUILDAH_STARTED_IN_USERNS= BUILDAH_ISOLATION=chroot
COPY ./target/release/idkyet-builder /usr/bin # buildkit
ENTRYPOINT ["idkyet-builder"]

Labels

Key Value
io.buildah.version 1.42.1
Details
Container
2025-12-08 01:09:02 +00:00
892
OCI / Docker
linux/amd64
827 MiB
Versions (3) View all
latest 2025-12-08
2025.12.080106 2025-12-08
2025.12.080032 2025-12-08