From e9e06dd7455d1a33cdc2affe3ab0943fd3e7e45f Mon Sep 17 00:00:00 2001 From: Adam Bernot Date: Thu, 7 Nov 2024 18:08:12 +0000 Subject: [PATCH] fix: use platform for frontend build --- cmd/frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/frontend/Dockerfile b/cmd/frontend/Dockerfile index 75bfa69581..1d5bd589b1 100644 --- a/cmd/frontend/Dockerfile +++ b/cmd/frontend/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM google-go.pkg.dev/golang:1.23.2@sha256:335533a0cbaa2e5b0dc038ac7023418ac68c3bb22b8828fc354088bb0340019b AS buildbase +FROM --platform=$BUILDPLATFORM google-go.pkg.dev/golang:1.23.2@sha256:335533a0cbaa2e5b0dc038ac7023418ac68c3bb22b8828fc354088bb0340019b AS buildbase # Compile the UI assets. FROM gcr.io/google-appengine/nodejs AS assets