1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 06:45:13 +01:00
Files
bootc/tmt/tests/examples/bootc-bls/Containerfile
John Eckersberg 5cacf27242 examples: move under tmt/tests/
Doing this as a distinct commit so as to not conflate future
modifications with the bulk code movement.

Signed-off-by: John Eckersberg <jeckersb@redhat.com>
2025-09-29 16:49:13 -04:00

11 lines
313 B
Docker

FROM quay.io/fedora/fedora-bootc:42
COPY extra /
COPY bootc /usr/bin
RUN passwd -d root
# need to have bootc-initramfs-setup in the initramfs so we need this
RUN set -x; \
kver=$(cd /usr/lib/modules && echo *); \
dracut -vf --install "/etc/passwd /etc/group" /usr/lib/modules/$kver/initramfs.img $kver;