File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM fedora:41
1+ FROM fedora:latest
22
33# 1. Install MiOS Toolchain + System Components (FHS & Build Stack)
44RUN dnf install -y just podman podman-compose buildah skopeo bootc bootupd ostree rpm-ostree jq yq rsync git nodejs npm sudo zsh findutils grep sed gawk policycoreutils util-linux authselect openssl qemu-img attr diffutils && dnf clean all
Original file line number Diff line number Diff line change @@ -80,8 +80,8 @@ $DNF_BIN "${DNF_SETOPT[@]}" upgrade -y --allowerasing --best \
8080echo " [01-repos] Phase 2: Distro-upgrade and userspace alignment..."
8181# We use 'upgrade --refresh' to ensure we have fresh metadata and catch latest
8282# userspace patches, followed by 'distro-sync' to align the remainder with F44.
83- $DNF_BIN " ${DNF_SETOPT[@]} " --setopt=excludepkgs=" shim-*,kernel*" upgrade --refresh -y || true
84- $DNF_BIN " ${DNF_SETOPT[@]} " --setopt=excludepkgs=" shim-*,kernel*" distro-sync -y --best --allowerasing || {
83+ $DNF_BIN " ${DNF_SETOPT[@]} " --setopt=excludepkgs=" shim-*,kernel*" upgrade --refresh -y
84+ $DNF_BIN " ${DNF_SETOPT[@]} " --setopt=excludepkgs=" shim-*,kernel*" distro-sync -y --best --allowerasing || { echo " FATAL: distro-sync failed " ; exit 1 ; }
8585 echo " [01-repos] WARNING: Distro-sync to Fedora 44 failed. Repository might be unreachable."
8686 echo " [01-repos] Continuing with base image packages..."
8787}
You can’t perform that action at this time.
0 commit comments