mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-09 07:33:52 +00:00
15 lines
474 B
Docker
15 lines
474 B
Docker
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# For running Go linters
|
|
FROM debian:13.1-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.25.1
|
|
RUN apt-get update -y && apt-get dist-upgrade -y
|
|
COPY --from=builder /tmp/codecov /usr/local/bin/codecov
|