Skip to content

Commit

Permalink
Dockerfile buildx fixes (jitsi#662)
Browse files Browse the repository at this point in the history
* Dockerfile buildx fixes

* Update README.md
aaronkvanmeerten authored Dec 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 54678d3 commit 8452ea6
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 1 addition & 4 deletions doc/grid/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

7 changes: 7 additions & 0 deletions doc/grid/README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8452ea6

Please sign in to comment.