Bump golang to 1.21.3 in Dockerfiles
This commit is contained in:
parent
d73acd6896
commit
ec532f622f
@ -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.2 as build-env
|
FROM --platform=$BUILDPLATFORM golang:1.21.3 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.2 as build-env
|
FROM golang:1.21.3 as build-env
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user