This commit is contained in:
parent
fa3143cc76
commit
ce92965408
@ -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.3 as build-env
|
FROM --platform=linux/amd64 golang:1.21.3 as build-env
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user