mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 17:59:31 +00:00
kata-deploy: Bump image to use alpine 3.22
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 <fabiano@fidencio.org>
This commit is contained in:
parent
1329ce355e
commit
9cc97ad35c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user