From 14fc41ccc9ecb5b831cbac6f2c9d39be9ad0253b Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 12 Sep 2023 09:04:03 +0200 Subject: [PATCH] tasks: Disable installing recommends 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). --- tasks/Containerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/Containerfile b/tasks/Containerfile index 0e6260fe..aae801fa 100644 --- a/tasks/Containerfile +++ b/tasks/Containerfile @@ -2,8 +2,9 @@ FROM fedora:38 LABEL maintainer='cockpit-devel@lists.fedorahosted.org' 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 \ @@ -32,6 +33,7 @@ RUN dnf -y update && \ net-tools \ nodejs-devel \ npm \ + passwd \ psmisc \ procps-ng \ python3 \