We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d52c058 commit 2a0a909Copy full SHA for 2a0a909
1 file changed
Dockerfile
@@ -1,7 +1,8 @@
1
# syntax=docker/dockerfile:1
2
3
# -- Stage 1: Build ----------------------------------------------------------
4
-FROM alpine:3.23 AS builder
+# Build on the native builder architecture and cross-compile with Zig.
5
+FROM --platform=$BUILDPLATFORM alpine:3.23 AS builder
6
7
RUN apk add --no-cache zig musl-dev
8
0 commit comments