Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions build/dockerfiles/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,6 @@ RUN dnf -y install patch libsecret libX11-devel libxkbcommon \
util-linux-user && \
dnf -y clean all --enablerepo='*'

# Pin gcloud CLI to a tested release from the official RHEL/CentOS repository.
# See https://cloud.google.com/sdk/docs/release-notes for recent versions.
ARG GCLOUD_CLI_VERSION=563.0.0
RUN printf '%s\n' \
'[google-cloud-cli]' \
'name=Google Cloud CLI' \
'baseurl=https://packages.cloud.google.com/yum/repos/cloud-sdk-el9-x86_64' \
'enabled=1' \
'gpgcheck=1' \
'repo_gpgcheck=0' \
'gpgkey=https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg' \
> /etc/yum.repos.d/google-cloud-sdk.repo && \
dnf makecache --repo=google-cloud-cli && \
dnf list --showduplicates google-cloud-cli 2>/dev/null \
| grep -q "${GCLOUD_CLI_VERSION}" || \
{ echo "ERROR: google-cloud-cli version ${GCLOUD_CLI_VERSION} not found in repo."; \
echo "Available versions (most recent last):"; \
dnf list --showduplicates google-cloud-cli 2>/dev/null | tail -10; \
exit 1; } && \
dnf -y install libxcrypt-compat google-cloud-cli-${GCLOUD_CLI_VERSION} && \
dnf -y clean all --enablerepo='*' && \
gcloud --version

COPY --chmod=664 /build/conf/dev/.p10k.zsh /home/user/.p10k.zsh

# zsh support
Expand Down
Loading