Skip to content

Commit

Permalink
images: Pre-install glib-networking on bootc
Browse files Browse the repository at this point in the history
cockpit-project/cockpit#21561 dropped
cockpit-bridge's glib-networking dependency. But two cockpit tests want
to install cockpit-ws, which still depends on glib-networking.
So put it back manually.
  • Loading branch information
jelly authored and Cockpituous committed Feb 7, 2025
1 parent 994de67 commit 542043b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/scripts/lib/bootc.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ FROM $base_image

# pre-install the distro version, which is useful for testing extensions and manual experiments
# also pre-install ws and test dependencies
# also install glib-networking, so that tests can install cockpit-ws (as long as it has that dependency)
RUN \
dnf update -y --exclude='kernel*' && \
dnf install -y --setopt install_weak_deps=False cockpit-system cockpit-networkmanager && \
dnf install -y dnsmasq pcp python3-pcp rsync sscg strace system-logos wireguard-tools && \
dnf install -y glib-networking && \
dnf clean all

ADD lib/mcast1.nmconnection /usr/lib/NetworkManager/system-connections/
Expand Down

0 comments on commit 542043b

Please sign in to comment.