From 6ce09e38a380cb8bce1a63b0114454c329b7d425 Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 26 Nov 2024 06:02:01 -0600 Subject: [PATCH 1/2] Dockerfile buildx fixes --- doc/grid/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/grid/Dockerfile b/doc/grid/Dockerfile index 4a679f0c7..7f6791e6d 100644 --- a/doc/grid/Dockerfile +++ b/doc/grid/Dockerfile @@ -1,9 +1,6 @@ ARG BROWSER=chrome ARG VERSION=latest -FROM --platform=$TARGETPLATFORM selenium/standalone-${BROWSER}:${VERSION} -ARG TARGETPLATFORM -ARG BUILDPLATFORM - +FROM selenium/standalone-${BROWSER}:${VERSION} USER root From e524c2fd0f2a87a685bb746e106b51f616ada94b Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 26 Nov 2024 06:06:50 -0600 Subject: [PATCH 2/2] Update README.md --- doc/grid/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/grid/README.md b/doc/grid/README.md index 2aff1ee3e..06b2945bb 100644 --- a/doc/grid/README.md +++ b/doc/grid/README.md @@ -17,6 +17,13 @@ docker build --build-arg VERSION=beta --build-arg BROWSER=firefox -t jitsi/stand docker build --build-arg VERSION=beta --build-arg BROWSER=chrome -t jitsi/standalone-chrome:beta . ``` +OR alternately create multi-arch images (only for chromium and firefox, no chrome arm64 builds available from Google. +You will need your own docker registry or project to push these to. Example below +``` +PRIVATE_DOCKER_REGISTRY=example/standalone-firefox +docker buildx build --build-arg VERSION=latest --build-arg BROWSER=firefox--platform=linux/arm64,linux/amd64 --push --pull --progress=plain --tag $PRIVATE_DOCKER_REGISTRY:latest . +``` + ### Start the grid ``` docker-compose-v3-dynamic-grid.yml