File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN set -eux && apk add --no-cache ca-certificates tzdata && \
2929 bison flex gawk patch
3030
3131# # =========== musl ===========
32- FROM i386/ debian:bookworm AS musl_builder
32+ FROM --platform=linux/386 debian:bookworm AS musl_builder
3333ARG DEBIAN_FRONTEND=noninteractive
3434ENV TZ=Asia/Taipei \
3535 IS_32BIT=1
@@ -124,7 +124,7 @@ RUN set -eux && \
124124 file launcher
125125
126126# =========== patch_stage ===========
127- FROM i386/ debian:latest AS patch_stage
127+ FROM --platform=linux/386 debian:latest AS patch_stage
128128ARG DEBIAN_FRONTEND=noninteractive
129129ENV TZ=Asia/Taipei \
130130 IS_32BIT=1
@@ -153,7 +153,7 @@ COPY ["common/build/wrappers/rpath-patcher.sh", "."]
153153RUN set -eux && ./rpath-patcher.sh
154154
155155# =========== final ===========
156- FROM i386/ debian:latest AS final
156+ FROM --platform=linux/386 debian:latest AS final
157157ARG DEBIAN_FRONTEND=noninteractive
158158ENV TZ=Asia/Taipei
159159
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN set -eux && apk add --no-cache ca-certificates tzdata && \
2929 bison flex gawk patch
3030
3131# # =========== musl ===========
32- FROM amd64/ debian:bookworm AS musl_builder
32+ FROM --platform=linux/amd64 debian:bookworm AS musl_builder
3333ARG DEBIAN_FRONTEND=noninteractive
3434ENV TZ=Asia/Taipei \
3535 IS_32BIT=0
@@ -124,7 +124,7 @@ RUN set -eux && \
124124 file launcher
125125
126126# =========== patch_stage ===========
127- FROM amd64/ debian:latest AS patch_stage
127+ FROM --platform=linux/amd64 debian:latest AS patch_stage
128128ARG DEBIAN_FRONTEND=noninteractive
129129ENV TZ=Asia/Taipei \
130130 IS_32BIT=0
@@ -153,7 +153,7 @@ COPY ["common/build/wrappers/rpath-patcher.sh", "."]
153153RUN set -eux && ./rpath-patcher.sh
154154
155155# =========== final ===========
156- FROM amd64/ debian:latest AS final
156+ FROM --platform=linux/amd64 debian:latest AS final
157157ARG DEBIAN_FRONTEND=noninteractive
158158ENV TZ=Asia/Taipei
159159
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN set -eux && apk add --no-cache ca-certificates tzdata && \
2929 bison flex gawk patch
3030
3131# # =========== musl ===========
32- FROM i386/ debian:bookworm AS musl_builder
32+ FROM --platform=linux/386 debian:bookworm AS musl_builder
3333ARG DEBIAN_FRONTEND=noninteractive
3434ENV TZ=Asia/Taipei \
3535 IS_32BIT=1
@@ -124,7 +124,7 @@ RUN set -eux && \
124124 file launcher
125125
126126# =========== patch_stage ===========
127- FROM i386/ debian:latest AS patch_stage
127+ FROM --platform=linux/386 debian:latest AS patch_stage
128128ARG DEBIAN_FRONTEND=noninteractive
129129ENV TZ=Asia/Taipei \
130130 IS_32BIT=1
@@ -153,7 +153,7 @@ COPY ["common/build/wrappers/rpath-patcher.sh", "."]
153153RUN set -eux && ./rpath-patcher.sh
154154
155155# =========== final ===========
156- FROM i386/ debian:latest AS final
156+ FROM --platform=linux/386 debian:latest AS final
157157ARG DEBIAN_FRONTEND=noninteractive
158158ENV TZ=Asia/Taipei
159159
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN set -eux && apk add --no-cache ca-certificates tzdata && \
2929 bison flex gawk patch
3030
3131# # =========== musl ===========
32- FROM amd64/ debian:bookworm AS musl_builder
32+ FROM --platform=linux/amd64 debian:bookworm AS musl_builder
3333ARG DEBIAN_FRONTEND=noninteractive
3434ENV TZ=Asia/Taipei \
3535 IS_32BIT=0
@@ -124,7 +124,7 @@ RUN set -eux && \
124124 file launcher
125125
126126# =========== patch_stage ===========
127- FROM amd64/ debian:latest AS patch_stage
127+ FROM --platform=linux/amd64 debian:latest AS patch_stage
128128ARG DEBIAN_FRONTEND=noninteractive
129129ENV TZ=Asia/Taipei \
130130 IS_32BIT=0
@@ -153,7 +153,7 @@ COPY ["common/build/wrappers/rpath-patcher.sh", "."]
153153RUN set -eux && ./rpath-patcher.sh
154154
155155# =========== final ===========
156- FROM amd64/ debian:latest AS final
156+ FROM --platform=linux/amd64 debian:latest AS final
157157ARG DEBIAN_FRONTEND=noninteractive
158158ENV TZ=Asia/Taipei
159159
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN set -eux && apk add --no-cache ca-certificates tzdata && \
2929 bison flex gawk patch
3030
3131# # =========== musl ===========
32- FROM i386/ debian:bookworm AS musl_builder
32+ FROM --platform=linux/386 debian:bookworm AS musl_builder
3333ARG DEBIAN_FRONTEND=noninteractive
3434ENV TZ=Asia/Taipei \
3535 IS_32BIT=1
@@ -124,7 +124,7 @@ RUN set -eux && \
124124 file launcher
125125
126126# =========== patch_stage ===========
127- FROM i386/ debian:latest AS patch_stage
127+ FROM --platform=linux/386 debian:latest AS patch_stage
128128ARG DEBIAN_FRONTEND=noninteractive
129129ENV TZ=Asia/Taipei \
130130 IS_32BIT=1
@@ -153,7 +153,7 @@ COPY ["common/build/wrappers/rpath-patcher.sh", "."]
153153RUN set -eux && ./rpath-patcher.sh
154154
155155# =========== final ===========
156- FROM i386/ debian:latest AS final
156+ FROM --platform=linux/386 debian:latest AS final
157157ARG DEBIAN_FRONTEND=noninteractive
158158ENV TZ=Asia/Taipei
159159
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN set -eux && apk add --no-cache ca-certificates tzdata && \
2929 bison flex gawk patch
3030
3131# # =========== musl ===========
32- FROM amd64/ debian:bookworm AS musl_builder
32+ FROM --platform=linux/amd64 debian:bookworm AS musl_builder
3333ARG DEBIAN_FRONTEND=noninteractive
3434ENV TZ=Asia/Taipei \
3535 IS_32BIT=0
@@ -124,7 +124,7 @@ RUN set -eux && \
124124 file launcher
125125
126126# =========== patch_stage ===========
127- FROM amd64/ debian:latest AS patch_stage
127+ FROM --platform=linux/amd64 debian:latest AS patch_stage
128128ARG DEBIAN_FRONTEND=noninteractive
129129ENV TZ=Asia/Taipei \
130130 IS_32BIT=0
@@ -153,7 +153,7 @@ COPY ["common/build/wrappers/rpath-patcher.sh", "."]
153153RUN set -eux && ./rpath-patcher.sh
154154
155155# =========== final ===========
156- FROM amd64/ debian:latest AS final
156+ FROM --platform=linux/amd64 debian:latest AS final
157157ARG DEBIAN_FRONTEND=noninteractive
158158ENV TZ=Asia/Taipei
159159
You can’t perform that action at this time.
0 commit comments