crazy rewrite to make slimmer non-gui image

This commit is contained in:
2024-04-24 08:04:11 +05:30
parent fd08e37213
commit 1a70dd59bc

View File

@@ -1,5 +1,13 @@
FROM registry.fedoraproject.org/fedora-toolbox:39
FROM registry.fedoraproject.org/fedora-toolbox:39 AS cleanup
RUN dnf mark install libwayland-client \
&& dnf -y -C rm mesa-\* glibc-all-langpacks
RUN dnf config-manager --disable 'fedora-cisco-openh264'
RUN dnf check-update || true
RUN dnf swap install glibc-langpack-en
FROM cleanup
RUN dnf check-update || true \
&& dnf -y install \
zsh \
@@ -9,4 +17,4 @@ RUN dnf check-update || true \
kitty-terminfo \
neovim \
make \
&& dnf clean packages expire-cache
&& dnf clean expire-cache