mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 06:45:13 +01:00
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>
11 lines
313 B
Docker
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;
|