mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2025-12-23 06:15:47 +00:00
Bump go versions in Dockerfiles
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
|
# Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
ARG BUILD_IMAGE=golang:1.25.0@sha256:5502b0e56fca23feba76dbc5387ba59c593c02ccc2f0f7355871ea9a0852cebe
|
ARG BUILD_IMAGE=golang:1.25.3@sha256:7d73c4c57127279b23f3f70cbb368bf0fe08f7ab32af5daf5764173d25e78b74
|
||||||
ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:a9f88e0d99c1ceedbce565fad7d3f96744d15e6919c19c7dafe84a6dd9a80c61
|
ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0
|
||||||
|
|
||||||
# Prepare to cross-compile by always running the build stage in the build platform, not the target platform.
|
# Prepare to cross-compile by always running the build stage in the build platform, not the target platform.
|
||||||
FROM --platform=$BUILDPLATFORM $BUILD_IMAGE AS build-env
|
FROM --platform=$BUILDPLATFORM $BUILD_IMAGE AS build-env
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
# See https://go.googlesource.com/go/+/dev.boringcrypto/README.boringcrypto.md
|
# See https://go.googlesource.com/go/+/dev.boringcrypto/README.boringcrypto.md
|
||||||
# and https://kupczynski.info/posts/fips-golang/ for details.
|
# and https://kupczynski.info/posts/fips-golang/ for details.
|
||||||
|
|
||||||
ARG BUILD_IMAGE=golang:1.25.0@sha256:5502b0e56fca23feba76dbc5387ba59c593c02ccc2f0f7355871ea9a0852cebe
|
ARG BUILD_IMAGE=golang:1.25.3@sha256:7d73c4c57127279b23f3f70cbb368bf0fe08f7ab32af5daf5764173d25e78b74
|
||||||
ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:a9f88e0d99c1ceedbce565fad7d3f96744d15e6919c19c7dafe84a6dd9a80c61
|
ARG BASE_IMAGE=gcr.io/distroless/static:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0
|
||||||
|
|
||||||
# This is not currently using --platform to prepare to cross-compile because we use gcc below to build
|
# This is not currently using --platform to prepare to cross-compile because we use gcc below to build
|
||||||
# platform-specific GCO code. This makes multi-arch builds slow due to target platform emulation.
|
# platform-specific GCO code. This makes multi-arch builds slow due to target platform emulation.
|
||||||
|
|||||||
Reference in New Issue
Block a user