From 25577fa9bc4f1d3444d392ea2cba7b7092f81ec9 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 1 Nov 2024 10:32:17 -0300 Subject: [PATCH 1/2] build images: Update images for Fedora 41 Fedora has released version 41, which was the previous 'rawhide' version, and now the 'fedora-latest' requires dnf5 related packages. --- infra/image/dockerfile/fedora-latest | 2 +- infra/image/dockerfile/fedora-rawhide | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/infra/image/dockerfile/fedora-latest b/infra/image/dockerfile/fedora-latest index f286f9f9..acdcbcf0 100644 --- a/infra/image/dockerfile/fedora-latest +++ b/infra/image/dockerfile/fedora-latest @@ -6,7 +6,7 @@ dnf makecache; \ dnf --assumeyes install \ /usr/bin/python3 \ /usr/bin/python3-config \ - /usr/bin/dnf-3 \ + python3-libdnf5 \ sudo \ bash \ systemd \ diff --git a/infra/image/dockerfile/fedora-rawhide b/infra/image/dockerfile/fedora-rawhide index b726489e..42bb8967 100644 --- a/infra/image/dockerfile/fedora-rawhide +++ b/infra/image/dockerfile/fedora-rawhide @@ -6,7 +6,6 @@ dnf makecache; \ dnf --assumeyes install \ /usr/bin/python3 \ /usr/bin/python3-config \ - /usr/bin/dnf-3 \ python3-libdnf5 \ sudo \ bash \ From 8956a7a1dd5d9c000c7e8b6a7aefd13971ca0917 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 1 Nov 2024 10:30:52 -0300 Subject: [PATCH 2/2] build images: Force use --privileged on containers Deploying FreeIPA in the testing containers requires privileged access. --- infra/azure/templates/build_container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/azure/templates/build_container.yml b/infra/azure/templates/build_container.yml index 49d2f731..4fa0b469 100644 --- a/infra/azure/templates/build_container.yml +++ b/infra/azure/templates/build_container.yml @@ -25,7 +25,7 @@ jobs: - script: ansible-galaxy collection install containers.podman displayName: Install Ansible Galaxy collections - - script: infra/image/build.sh -s ${{ parameters.distro }} + - script: infra/image/build.sh -p -s ${{ parameters.distro }} displayName: Build ${{ parameters.distro }} base image env: ANSIBLE_ROLES_PATH: "${PWD}/roles"