File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Copyright (c) 2022 Red Hat, Inc.
1+ # Copyright (c) 2022-2026 Red Hat, Inc.
22# This program and the accompanying materials are made
33# available under the terms of the Eclipse Public License 2.0
44# which is available at https://www.eclipse.org/legal/epl-2.0/
@@ -18,6 +18,20 @@ RUN dnf -y install libsecret libX11-devel libxkbcommon \
1818 util-linux-user && \
1919 dnf -y clean all --enablerepo='*'
2020
21+ # Install latest stable gcloud CLI from official RHEL/CentOS repository.
22+ RUN printf '%s\n ' \
23+ '[google-cloud-cli]' \
24+ 'name=Google Cloud CLI' \
25+ 'baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el9-x86_64' \
26+ 'enabled=1' \
27+ 'gpgcheck=1' \
28+ 'repo_gpgcheck=0' \
29+ 'gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg' \
30+ > /etc/yum.repos.d/google-cloud-sdk.repo && \
31+ dnf -y install libxcrypt-compat google-cloud-cli && \
32+ dnf -y clean all --enablerepo='*' && \
33+ gcloud --version
34+
2135COPY --chmod=664 /build/conf/dev/.p10k.zsh /home/user/.p10k.zsh
2236
2337# zsh support
You can’t perform that action at this time.
0 commit comments