Further reduce. Re-remove system-installed Firefox
Some checks failed
Build container image / Build and push image (push) Failing after 3m52s

This commit is contained in:
2025-12-01 18:14:05 +09:00
parent 6328eadaff
commit 2908caaf59

View File

@@ -33,7 +33,7 @@ dnf5 config-manager setopt fedora-multimedia.priority=90
# Remove Fedora's package that enforces their own (filtered) version of the
# flathub repo is present, as-well as the system-installed Firefox as I prefer to use the Flatpak version
dnf5 remove -y fedora-flathub-remote # firefox firefox-langpacks
dnf5 remove -y fedora-flathub-remote firefox firefox-langpacks
# Add Flathub to the image for eventual application
mkdir -p /etc/flatpak/remotes.d/
@@ -144,14 +144,14 @@ if [ -f /etc/passwd ] || [ -f /etc/group ]; then
echo "Warning: Make sure processed users and groups are from installed programs!"
fi
# Create defaults for /etc/passwd, /etc/group
cat <<EOT >/etc/passwd
root:x:0:0:root:/root:/bin/bash
EOT
cat <<EOT >/etc/group
root:x:0:
wheel:x:10:
EOT
# # Create defaults for /etc/passwd, /etc/group
# cat <<EOT >/etc/passwd
# root:x:0:0:root:/root:/bin/bash
# EOT
# cat <<EOT >/etc/group
# root:x:0:
# wheel:x:10:
# EOT
# Extra lock files created by container processes that might cause issues
rm -rf \