Files
pinniped/dockerfiles/gh-cli/Dockerfile
dependabot[bot] 9ea5ca524e Bump debian from 13.3-slim to 13.4-slim in /dockerfiles/gh-cli
Bumps debian from 13.3-slim to 13.4-slim.

---
updated-dependencies:
- dependency-name: debian
  dependency-version: 13.4-slim
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-17 01:53:08 +00:00

16 lines
508 B
Docker

# Copyright 2020-2026 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# For running the GitHub CLI.
FROM debian:13.4-slim AS builder
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
RUN curl \
-sfLo /tmp/gh.tar.gz \
https://github.com/cli/cli/releases/download/v2.40.0/gh_2.40.0_linux_amd64.tar.gz \
&& tar -C /tmp --strip-components=1 -xzvf /tmp/gh.tar.gz
FROM golang:1.26.1
COPY --from=builder /tmp/bin/gh /usr/local/bin/gh