From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
Heinrich Schuchardt <xypron.glpk@gmx.de>
Subject: Re: [PATCH 3/9] docker: Support building for multiple architectures
Date: Mon, 4 Nov 2024 07:55:57 -0600 [thread overview]
Message-ID: <20241104135557.GI3600562@bill-the-cat> (raw)
In-Reply-To: <20241104133954.840994-4-sjg@chromium.org>
[-- Attachment #1: Type: text/plain, Size: 1613 bytes --]
On Mon, Nov 04, 2024 at 06:39:47AM -0700, Simon Glass wrote:
> Add instructions on how to build the file for multiple architectures.
> Add a message indicating what is happening.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> tools/docker/Dockerfile | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
> index 967ac89fbde..c9d794082c8 100644
> --- a/tools/docker/Dockerfile
> +++ b/tools/docker/Dockerfile
> @@ -2,6 +2,9 @@
> # This Dockerfile is used to build an image containing basic stuff to be used
> # to build U-Boot and run our test suites.
>
> +# Build with (for example):
> +# docker buildx build --platform linux/arm64/v8,linux/amd64 --tag sjg20/u-boot-gitlab-ci-runner-multiarch:jammy-20240808-03Nov2024 .
> +
> FROM ubuntu:jammy-20240808
> LABEL org.opencontainers.image.authors="Tom Rini <trini@konsulko.com>"
> LABEL org.opencontainers.image.description=" This image is for building U-Boot inside a container"
> @@ -9,6 +12,10 @@ LABEL org.opencontainers.image.description=" This image is for building U-Boot i
> # Make sure apt is happy
> ENV DEBIAN_FRONTEND=noninteractive
>
> +ARG TARGETPLATFORM
> +ARG BUILDPLATFORM
> +RUN echo "Building $BUILDPLATFORM, for target $TARGETPLATFORM"
> +
> # Add LLVM repository
> RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*
> RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
Please update doc/build/docker.rst as well with this change, thanks.
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2024-11-04 13:56 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-04 13:39 [PATCH 0/9] CI: Set up for an arm64 runner Simon Glass
2024-11-04 13:39 ` [PATCH 1/9] sandbox: efi_loader: Correct use of addresses as pointers Simon Glass
2024-11-04 20:37 ` Heinrich Schuchardt
2024-11-05 15:12 ` Simon Glass
2024-11-04 13:39 ` [PATCH 2/9] test: Adjust print_ut test to use unsigned char Simon Glass
2024-11-04 20:46 ` Heinrich Schuchardt
2024-11-05 15:14 ` Simon Glass
2024-11-04 13:39 ` [PATCH 3/9] docker: Support building for multiple architectures Simon Glass
2024-11-04 13:55 ` Tom Rini [this message]
2024-11-04 20:49 ` Heinrich Schuchardt
2024-11-04 13:39 ` [PATCH 4/9] docker: Adjust packages for arm64 Simon Glass
2024-11-04 13:56 ` Tom Rini
2024-11-04 20:58 ` Heinrich Schuchardt
2024-11-04 21:34 ` Tom Rini
2024-11-05 19:21 ` Simon Glass
2024-11-04 13:39 ` [PATCH 5/9] docker: Drop grub " Simon Glass
2024-11-04 13:56 ` Tom Rini
2024-11-05 15:15 ` Simon Glass
2024-11-05 15:44 ` Tom Rini
2024-11-05 16:07 ` Simon Glass
2024-11-04 21:04 ` Heinrich Schuchardt
2024-11-04 21:18 ` Tom Rini
2024-11-04 13:39 ` [PATCH 6/9] docker: Drop tracing " Simon Glass
2024-11-04 13:56 ` Tom Rini
2024-11-04 21:22 ` Heinrich Schuchardt
2024-11-05 15:15 ` Simon Glass
2024-11-04 13:39 ` [PATCH 7/9] docker: Drop coreboot " Simon Glass
2024-11-04 13:56 ` Tom Rini
2024-11-04 13:39 ` [PATCH 8/9] docker: Fix LegacyKeyValueFormat warning with PYTHONPATH Simon Glass
2024-11-04 13:56 ` Tom Rini
2024-11-04 21:24 ` Heinrich Schuchardt
2024-11-04 13:39 ` [PATCH 9/9] CI: Add platform variable Simon Glass
2024-11-04 13:57 ` Tom Rini
2024-11-04 13:55 ` [PATCH 0/9] CI: Set up for an arm64 runner Tom Rini
2024-11-07 9:42 ` Ilias Apalodimas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241104135557.GI3600562@bill-the-cat \
--to=trini@konsulko.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.de \
--cc=xypron.glpk@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox