diff --git a/imgts/Containerfile b/imgts/Containerfile index f3d4d977..a54f4128 100644 --- a/imgts/Containerfile +++ b/imgts/Containerfile @@ -2,9 +2,10 @@ FROM quay.io/centos/centos:stream8 # Only needed for installing build-time dependencies COPY /imgts/google-cloud-sdk.repo /etc/yum.repos.d/google-cloud-sdk.repo -RUN yum -y --setopt=keepcache=true update && \ - yum -y --setopt=keepcache=true install epel-release && \ - yum -y --setopt=keepcache=true install google-cloud-sdk +RUN dnf -y --setopt=keepcache=true update && \ + dnf -y --setopt=keepcache=true install epel-release && \ + dnf -y --setopt=keepcache=true --exclude=google-cloud-sdk-366.0.0-1 \ + install google-cloud-sdk # These all represent required variables which must be set by caller ENV GCPJSON="__unknown__" \