From 697d7a05946417842caca5ce18529491ab420046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simppa=20=C3=84k=C3=A4slompolo?= Date: Mon, 20 May 2024 15:31:52 +0300 Subject: [PATCH] Versionlock 5.14.0-362.24.1.el9_3 --- rhel-9/Containerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rhel-9/Containerfile b/rhel-9/Containerfile index ad33fbf..a98d653 100644 --- a/rhel-9/Containerfile +++ b/rhel-9/Containerfile @@ -9,15 +9,15 @@ FROM registry.access.redhat.com/ubi9/ubi:9.3 #Versionlock the kernel: -dnf install \ - kernel-0:5.14.0-362.24.1.el9_3.* \ - kernel-core-0:5.14.0-362.24.1.el9_3.* \ - kernel-headers-0:5.14.0-362.24.1.el9_3.* \ - kernel-modules-core-0:5.14.0-362.24.1.el9_3.* +RUN dnf install -y \ + kernel-0:5.14.0-362.24.1.el9_3 \ + kernel-core-0:5.14.0-362.24.1.el9_3 \ + kernel-headers-0:5.14.0-362.24.1.el9_3 \ + kernel-modules-core-0:5.14.0-362.24.1.el9_3 -dnf install \ +RUN dnf install -y \ python3-dnf-plugin-versionlock -dnf versionlock \ +RUN dnf versionlock -y \ kernel-0:5.14.0-362.24.1.el9_3.* \ kernel-core-0:5.14.0-362.24.1.el9_3.* \ kernel-headers-0:5.14.0-362.24.1.el9_3.* \