From 1ed62ac19e800292916985ef713f2c9e4a6f1fea Mon Sep 17 00:00:00 2001 From: Adrian Riobo Lorenzo Date: Tue, 26 Sep 2023 14:45:53 +0200 Subject: [PATCH] Use centos stream9 as base image for crc-cloud container fixes [bug] missing tools on container image #146 With #146 we missed qeu-img tool required to run the import action, that pkg is not available on ubi images, as so we need to change the base image to centos stream9 and make sure qemu-img is installed --- oci/Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oci/Containerfile b/oci/Containerfile index c68af660..1673c5b6 100644 --- a/oci/Containerfile +++ b/oci/Containerfile @@ -12,7 +12,7 @@ RUN make build \ && curl -LO ${PULUMI_URL} \ && tar -xzvf pulumi-${PULUMI_VERSION}-linux-x64.tar.gz -FROM registry.access.redhat.com/ubi9-minimal:9.2-750@sha256:0dfa71a7ec2caf445e7ac6b7422ae67f3518960bd6dbf62a7b77fa7a6cfc02b1 +FROM quay.io/centos/centos:stream9 LABEL MAINTAINER "CRC " @@ -39,7 +39,7 @@ ARG PULUMI_AWS_VERSION=v6.2.1 # renovate: datasource=github-releases depName=pulumi/pulumi-azure-native ARG PULUMI_AZURE_NATIVE_VERSION=v2.8.0 -RUN microdnf install -y python3 python3-pip zstd && \ +RUN dnf install -y python3 python3-pip zstd qemu-img && \ pip install -r requirements.txt && \ pulumi plugin install resource command ${PULUMI_COMMAND_VERSION} && \ pulumi plugin install resource tls ${PULUMI_TLS_VERSION} && \