Files
pinniped/dockerfiles/code-coverage-uploader/Dockerfile
T
Ryan Richard 0adc3838e0 upgrade golang in CI from 1.26.4 to 1.26.5
Signed-off-by: Ryan Richard <richardry@vmware.com>
2026-07-07 15:29:44 -07:00

15 lines
474 B
Docker

# Copyright 2020-2026 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# For running Go linters
FROM debian:13.5-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.26.5
RUN apt-get update -y && apt-get dist-upgrade -y
COPY --from=builder /tmp/codecov /usr/local/bin/codecov