debian-bootc (latest)

Published 2025-11-09 23:10:51 +02:00 by coltonp

Installation

docker pull git.pawielski.com/bootc/debian-bootc:latest
sha256:ef2f55ec2423e77822259e7388e6d2126d088ea904c95adae5300d723241c076

Image layers

# debian.sh --arch 'amd64' out/ 'stable' '@1762202650'
ARG DEBIAN_FRONTEND
ENV DEV_DEPS="libzstd-dev libssl-dev pkg-config curl git build-essential meson libfuse3-dev liblzma-dev e2fslibs-dev libgpgme-dev go-md2man dracut autoconf automake libtool libglib2.0-dev bison flex jq"
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c rm /etc/apt/apt.conf.d/docker-gzip-indexes /etc/apt/apt.conf.d/docker-no-languages && apt update -y && apt install -y $DEV_DEPS
ENV CARGO_HOME=/tmp/rust
ENV RUSTUP_HOME=/tmp/rust
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c --mount=type=tmpfs,dst=/tmp curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile minimal -y && git clone https://github.com/ostreedev/ostree.git --depth 1 /tmp/ostree && sh -c "cd /tmp/ostree ; git submodule update --init ; env NOCONFIGURE=1 ./autogen.sh ; ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc ; make ; make install" && ldconfig && ln -svf /usr/lib/libostree* /lib/$(arch)-linux-gnu/ && git clone https://github.com/bootc-dev/bootc.git --depth 1 /tmp/bootc && sh -c ". ${RUSTUP_HOME}/env ; export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig ; make -C /tmp/bootc bin install-all install-initramfs-dracut"
ENV DRACUT_NO_XATTR=1
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt install -y btrfs-progs dosfstools e2fsprogs fdisk firmware-linux-free linux-image-generic skopeo systemd systemd-boot* xfsprogs
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c sh -c 'export KERNEL_VERSION="$(basename "$(find /usr/lib/modules -maxdepth 1 -type d | grep -v -E "*.img" | tail -n 1)")" && dracut --force --no-hostonly --reproducible --zstd --verbose --kver "$KERNEL_VERSION" "/usr/lib/modules/$KERNEL_VERSION/initramfs.img" && cp /boot/vmlinuz-$KERNEL_VERSION "/usr/lib/modules/$KERNEL_VERSION/vmlinuz"'
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt install -y whois
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c usermod -p "$(echo "root" | mkpasswd -s)" root
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt remove -y $DEV_DEPS && apt autoremove -y
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c sed -i 's|^HOME=.*|HOME=/var/home|' "/etc/default/useradd"
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c rm -rf /boot /home /root /usr/local /srv && mkdir -p /var && mkdir -p /var/home && mkdir -p /var/roothome && mkdir -p /var/srv && ln -s /var/home /home && ln -s /var/roothome /root && ln -s /var/srv /srv && ln -s sysroot/ostree ostree && mkdir -p /sysroot /boot
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c mkdir -p /usr/lib/ostree && printf "[composefs]\nenabled = yes\n[sysroot]\nreadonly = true\n" | tee "/usr/lib/ostree/prepare-root.conf"
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt install -y vim podman openssh-server
ADD file:9edc7bbe2f52064b565631d6e928bda92c71ee77c6e730617cb2a1f20f35c52f in /etc/systemd/network/20-wired.network
ADD file:3072e27120c6a4650c9d185e3ccbc477ecf917fff55ea61c776a16e37983e79f in /etc/systemd/system/firstboot.service
ADD file:ea9b26015d53eaf9b60dbafc9f58c0114e31f55f30411c99a5696a46eca59c82 in /etc/systemd/system/boot.mount
ADD file:3d14f9ab10fba0510cbd697560a267436f7262db47cf1eb71335bdeb2690652f in /usr/bin/firstboot.sh
ADD file:65faba395ca3ac994624c4c7942ca7a19aeecfdd1b82c3062824e9d6de28a523 in /etc/tmpfiles.d/root-ssh.conf
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c chmod +x /usr/bin/firstboot.sh && systemctl enable firstboot.service && systemctl enable boot.mount && systemctl enable systemd-networkd.service && systemctl enable ssh.service
|1 DEBIAN_FRONTEND=noninteractive /bin/sh -c bootc container lint

Labels

Key Value
io.buildah.version 1.39.3
Details
Container
2025-11-09 23:10:51 +02:00
70
OCI / Docker
linux/amd64
840 MiB
Versions (1) View all
latest 2025-11-09