From 9cc97ad35c9a6661ae9298caa1753f7269b1b8ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Thu, 21 Aug 2025 00:00:22 +0200 Subject: [PATCH] kata-deploy: Bump image to use alpine 3.22 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As 3.18 is already EOL. We need to add `--break-system-packages` to enforce the install of the installation of the yq version that we rely on. The tests have shown that no breakage actually happens, fortunately. Signed-off-by: Fabiano FidĂȘncio --- tools/packaging/kata-deploy/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/packaging/kata-deploy/Dockerfile b/tools/packaging/kata-deploy/Dockerfile index 6fbcf578c6..d6fdc5e342 100644 --- a/tools/packaging/kata-deploy/Dockerfile +++ b/tools/packaging/kata-deploy/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: Apache-2.0 ARG BASE_IMAGE_NAME=alpine -ARG BASE_IMAGE_TAG=3.18 +ARG BASE_IMAGE_TAG=3.22 FROM $BASE_IMAGE_NAME:$BASE_IMAGE_TAG ARG KATA_ARTIFACTS=./kata-static.tar.xz ARG DESTINATION=/opt/kata-artifacts @@ -34,7 +34,7 @@ RUN \ rm -f ${WORKDIR}/${KATA_ARTIFACTS} && \ apk del curl && \ apk --no-cache add py3-pip && \ - pip install --no-cache-dir yq==3.2.3 + pip install --no-cache-dir yq==3.2.3 --break-system-packages COPY scripts ${DESTINATION}/scripts COPY runtimeclasses ${DESTINATION}/runtimeclasses