From 1b956e9a5fa81c5e9cae45eee01b75c2e659ba4a Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Sun, 26 Apr 2026 12:21:08 +0200 Subject: [PATCH] changed to bootc-installer --- Containerfile | 6 ++++++ build/60-installing-anaconda.sh | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100755 build/60-installing-anaconda.sh diff --git a/Containerfile b/Containerfile index 62355f9..bcba8cf 100644 --- a/Containerfile +++ b/Containerfile @@ -86,6 +86,12 @@ RUN --mount=type=bind,from=ctx,source=/,target=/ctx \ --mount=type=tmpfs,dst=/tmp \ /ctx/build/50-remove-packages-and-enable-Services.sh +RUN --mount=type=bind,from=ctx,source=/,target=/ctx \ + --mount=type=cache,dst=/var/cache \ + --mount=type=cache,dst=/var/log \ + --mount=type=tmpfs,dst=/tmp \ + /ctx/build/60-installing-anaconda.sh + # Deklaration der Verzeichnisse für systemd-tmpfiles, um bootc-Linting-Warnungen zu vermeiden. # Dies stellt sicher, dass /var/lib/dnf und /var/lib/rpm beim Booten sauber existieren. RUN mkdir -p /etc/tmpfiles.d/ && \ diff --git a/build/60-installing-anaconda.sh b/build/60-installing-anaconda.sh new file mode 100755 index 0000000..ac13b81 --- /dev/null +++ b/build/60-installing-anaconda.sh @@ -0,0 +1,22 @@ +#!/usr/bin/bash +set -eoux pipefail + + dnf install -y \ + anaconda \ + anaconda-install-env-deps \ + anaconda-dracut \ + dracut-config-generic \ + dracut-network \ + net-tools \ + squashfs-tools \ + grub2-efi-x64-cdboot \ + python3-mako \ + lorax-templates-* \ + biosdevname \ + prefixdevname \ + && dnf clean all + + mkdir -p /boot/efi && cp -ra /usr/lib/efi/*/*/EFI /boot/efi + mkdir /var/mnt + +