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

@@ -2,7 +2,9 @@ ARG mono_version
FROM godot-mono:${mono_version}
ARG mono_version
RUN dnf -y install java-1.8.0-openjdk-devel ncurses-compat-libs gcc gcc-c++ && \
RUN dnf -y install --setopt=install_weak_deps=False \
gcc gcc-c++ java-1.8.0-openjdk-devel ncurses-compat-libs && \
dnf clean all && \
mkdir sdk && cd sdk && \
curl -LO https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip && \
unzip sdk-tools-linux-4333796.zip && \