From ea30149c13cecbca986526a21bda73ec98067247 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 19 Feb 2025 15:46:36 +0100 Subject: [PATCH] support/docker/Dockerfile: unbreak 32bit support for x86-64 Fixes ttps://gitlab.com/buildroot.org/buildroot/-/jobs/9153298207 Commit 3bc94471ca8a ("support/docker: prepare for Aarch64 Docker images") reworked the Dockerfile to only add the 32bit support when building for x86-64, but it forgot to add a TARGETPLATFORM argument so the conditionals never triggers. Fix it by adding a TARGETPLATFORM argument as explained here: https://forums.docker.com/t/build-multi-arch-images-with-different-commands-per-architecture-in-docker-file/134795 Signed-off-by: Peter Korsgaard --- support/docker/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/docker/Dockerfile b/support/docker/Dockerfile index d0bdc73bbf..12d3fe024c 100644 --- a/support/docker/Dockerfile +++ b/support/docker/Dockerfile @@ -14,6 +14,9 @@ LABEL maintainer="Buildroot mailing list " \ vendor="Buildroot" \ description="Container with everything needed to run Buildroot" +# Architecture to build for +ARG TARGETPLATFORM + # We need tar >= 1.35 ARG TAR_VERSION="1.35"