Skip to content

Commit

Permalink
Use centos stream9 as base image for crc-cloud container fixes #146
Browse files Browse the repository at this point in the history
    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
  • Loading branch information
adrianriobo committed Sep 26, 2023
1 parent 87ccb66 commit 0c3a04d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oci/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"

Expand All @@ -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} && \
Expand Down

0 comments on commit 0c3a04d

Please sign in to comment.