Disable installation of weak deps

This saves us from pulling gtk2 and gtk3 as weak deps of
perl and git or whatnot... And we don't need to pull in all
the documentation on Ubuntu.

Also ensures that we properly run `dnf clean all` after each
installation.
This commit is contained in:
Rémi Verschelde
2019-11-15 11:56:31 +01:00
parent 79fbeca9b4
commit f7966f0a1e
13 changed files with 44 additions and 19 deletions

View File

@@ -1,5 +1,7 @@
FROM godot-fedora:latest
RUN dnf -y install xorg-x11-server-Xvfb mesa-dri-drivers libXcursor libXinerama libXrandr libXi alsa-lib pulseaudio-libs java-1.8.0-openjdk-devel && dnf clean all
RUN dnf -y install --setopt=install_weak_deps=False \
xorg-x11-server-Xvfb mesa-dri-drivers libXcursor libXinerama libXrandr libXi alsa-lib pulseaudio-libs java-1.8.0-openjdk-devel && \
dnf clean all
CMD ['/bin/bash']