Files
dependabot[bot] fc77610c74 Bump debian in /dockerfiles/code-coverage-uploader
Bumps debian from 12.10-slim to 12.11-slim.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-22 01:58:49 +00:00

15 lines
475 B
Docker

# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# For running Go linters
FROM debian:12.11-slim AS builder
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
RUN curl -sfLo /tmp/codecov https://uploader.codecov.io/latest/linux/codecov
RUN chmod +x /tmp/codecov
FROM golang:1.24.3
RUN apt-get update -y && apt-get dist-upgrade -y
COPY --from=builder /tmp/codecov /usr/local/bin/codecov