Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Misc cleanups + regenerate initramfs (to pick up ostree changes) #26

Merged
merged 4 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions eln-dev/Containerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM quay.io/centos-bootc/fedora-bootc:eln
COPY *.repo /etc/yum.repos.d/
RUN dnf --disablerepo='*' --enablerepo=copr-coreos-continuous --enablerepo=copr-rhcontainerbot-bootc -y distro-sync && \
dnf clean all && rm -rf /var/* && \
ostree container commit
dnf clean all
# Note we need to regenerate the initramfs because ostree is included in it
RUN set -x; kver=$(cd /usr/lib/modules && echo *); dracut -vf /usr/lib/modules/$kver/initramfs.img $kver
6 changes: 3 additions & 3 deletions stream9-dev/Containerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM quay.io/centos-bootc/centos-bootc:stream9
COPY *.repo /etc/yum.repos.d/
RUN dnf --disablerepo='*' --enablerepo=copr-coreos-continuous --enablerepo=copr-rhcontainerbot-bootc -y distro-sync && \
rpm -q bootc || dnf -y install bootc && \
dnf clean all && rm -rf /var/* && \
ostree container commit
dnf clean all
# Note we need to regenerate the initramfs because ostree is included in it
RUN set -x; kver=$(cd /usr/lib/modules && echo *); dracut -vf /usr/lib/modules/$kver/initramfs.img $kver
Loading