Skip to content

Commit

Permalink
Workaround broken google-cloud-sdk update
Browse files Browse the repository at this point in the history
A package update includes a new bug.  Workaround
https://issuetracker.google.com/issues/209655844 by excluding the
problematic version.
  • Loading branch information
cevich committed Dec 8, 2021
1 parent 438ba2f commit 7fa1e4c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions imgts/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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__" \
Expand Down

0 comments on commit 7fa1e4c

Please sign in to comment.