This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from cgwalters/cleanups
Misc cleanups + regenerate initramfs (to pick up ostree changes)
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |