ci: Do not install weak_deps into the image

Only pull what we need to keep the image size smaller.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7455>
This commit is contained in:
Jordan Petridis 2024-07-30 11:28:07 +03:00 committed by GStreamer Marge Bot
parent 7cf69a0f2f
commit 8bb75d0234

View file

@ -19,7 +19,7 @@ dnf config-manager --set-enabled '*-debuginfo'
dnf upgrade -y && dnf distro-sync -y
# Install the dependencies of gstreamer
dnf builddep -y --skip-broken --allowerasing --best \
dnf builddep -y --setopt=install_weak_deps=false --skip-broken --allowerasing --best \
gstreamer1 \
gstreamer1-plugins-bad-free \
gstreamer1-plugins-bad-free-extras \
@ -35,7 +35,7 @@ dnf remove -y \
'ffmpeg-free*' \
'fdk-aac-free*'
dnf install -y $(<./ci/docker/fedora/deps.txt)
dnf install --setopt=install_weak_deps=false -y $(<./ci/docker/fedora/deps.txt)
dnf remove -y meson -x ninja-build
pip3 install meson hotdoc python-gitlab tomli junitparser