Skip to content

Commit

Permalink
tasks: Disable installing recommends
Browse files Browse the repository at this point in the history
firefox' Recommends pull in mesa and half of a desktop stack (like
tracker, upower, and mesa), and thus adds an unnecessary 600 MB of
dependencies.

Other packages pull in nodejs-full-i18n, various -docs, systemd-networkd
and other bits which have no place in a container.

Explicitly install passwd to keep the container working with toolbox,
and adobe-source-code-pro-fonts to keep a proper monospace font (for
pixel tests).
  • Loading branch information
martinpitt committed Sep 12, 2023
1 parent a7c097e commit 14fc41c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ FROM fedora:38
LABEL maintainer='[email protected]'

RUN dnf -y update && \
dnf -y install \
dnf -y install --disablerepo=fedora-cisco-openh264 --setopt=install_weak_deps=False \
'dnf-command(builddep)' \
adobe-source-code-pro-fonts \
byobu \
chromium-headless \
curl \
Expand Down Expand Up @@ -32,6 +33,7 @@ RUN dnf -y update && \
net-tools \
nodejs-devel \
npm \
passwd \
psmisc \
procps-ng \
python3 \
Expand Down

0 comments on commit 14fc41c

Please sign in to comment.