Skip to content

Commit 7b82c58

Browse files
geroplclaude
andauthored
Update GitHub CLI to v2.74.1 and parameterize version (#20898)
Upgrades gh CLI from v2.35.0 to v2.74.1 and introduces ARG GH_VERSION for easier version management in future updates. Related: CLC-1425 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent 748e1f7 commit 7b82c58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dev/image/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ RUN sudo install-packages shellcheck \
195195
&& sudo python3 -m pip install pre-commit
196196

197197
# gh (Github CLI) binary:
198-
RUN cd /usr/bin && curl -fsSL https://github.com/cli/cli/releases/download/v2.35.0/gh_2.35.0_linux_amd64.tar.gz \
199-
| sudo tar xzv --strip-components=2 gh_2.35.0_linux_amd64/bin/gh
198+
ARG GH_VERSION="2.74.1"
199+
RUN cd /usr/bin && curl -fsSL https://github.com/cli/cli/releases/download/v${GH_VERSION}/gh_${GH_VERSION}_linux_amd64.tar.gz \
200+
| sudo tar xzv --strip-components=2 gh_${GH_VERSION}_linux_amd64/bin/gh
200201

201202
# Install observability-related binaries
202203
ARG PROM_VERSION="2.36.0"

0 commit comments

Comments
 (0)