Optimize repository
This commit is contained in:
parent
c6204ee504
commit
c61a0fa2a0
26 changed files with 3 additions and 0 deletions
32
containers/Dockerfile.kde-ver4a
Normal file
32
containers/Dockerfile.kde-ver4a
Normal file
|
@ -0,0 +1,32 @@
|
|||
ARG REGISTRY_DOMAIN
|
||||
|
||||
ARG NAMESPACE
|
||||
|
||||
FROM ${REGISTRY_DOMAIN}/${NAMESPACE}/onc-kde:main
|
||||
|
||||
# Install virtualization tools
|
||||
RUN dnf5 -y install libvirt libvirt-daemon-kvm virt-manager
|
||||
|
||||
# Install general utilities
|
||||
RUN dnf5 -y install croc solaar openrgb
|
||||
|
||||
# Install general purpose development tools
|
||||
RUN dnf5 -y install codium neovim wl-clipboard ansible python3-ansible-lint uv butane coreos-installer
|
||||
|
||||
# Remove unwanted packages
|
||||
RUN dnf5 -y remove kde-connect plasma-discover plasma-discover-libs
|
||||
|
||||
# Remove Firefox rpm (superseded by flatpak Firefox)
|
||||
RUN dnf5 -y remove firefox firefox-langpacks
|
||||
|
||||
# Remove unneeded packages (currently doesn't actually reduce space, but reduces clutter)
|
||||
RUN dnf5 -y autoremove
|
||||
|
||||
# Remove setuid/setgid binaries
|
||||
# Except for polkit-agent-helper-1, it's currently required for interactive authentication with polkit.
|
||||
RUN find /usr -mindepth 1 -type f -perm /6000 -regextype posix-extended -not -regex '^/usr/lib/polkit-1/polkit-agent-helper-1$|^/usr/s?bin/unix_chkpwd$|^/usr/s?bin/fusermount[0-9]?$' -exec sh -c "chmod ug-s '{}' && echo \"Removed setuid/setgid bit(s) from '{}'\"" \;
|
||||
|
||||
# https://github.com/ostreedev/ostree-rs-ext/issues/159
|
||||
RUN ostree container commit
|
||||
|
||||
LABEL quay.expires-after=""
|
Loading…
Add table
Add a link
Reference in a new issue