Bump dockerfiles to golang:1.21.2
This commit is contained in:
parent
0cca3a12e6
commit
1409f236da
@ -4,7 +4,7 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
# 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 golang:1.21.1 as build-env
|
FROM --platform=$BUILDPLATFORM golang:1.21.2 as build-env
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
# 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.
|
||||||
FROM golang:1.21.1 as build-env
|
FROM golang:1.21.2 as build-env
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user