From 1f5e1fc32f1f851ebd836581ba4d40e76788d593 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 4 Nov 2025 16:02:13 +0100 Subject: [PATCH] Add BUILD_ARCH argument to Dockerfile --- ente/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ente/Dockerfile b/ente/Dockerfile index 469a3d3d1..c5e8fd78f 100644 --- a/ente/Dockerfile +++ b/ente/Dockerfile @@ -53,8 +53,9 @@ RUN chmod 744 /ha_lsio.sh && \ rm /ha_lsio.sh # --- MinIO, psql client etc. (unchanged) --- +ARG BUILD_ARCH RUN set -eux; \ - if [ "$BUILD_ARCH" = "aarch64" ]; then BUILD_ARCH="arm64"; fi + if [ "$BUILD_ARCH" = "aarch64" ]; then BUILD_ARCH="arm64"; fi && \ apk add --no-cache \ bash curl ca-certificates wget jq tini postgresql15-client; \ curl -fsSL https://dl.min.io/server/minio/release/linux-"$BUILD_ARCH"/minio -o /usr/local/bin/minio; \