Skip to content

webrecorder/browsertrix-browser-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Github Actions WebrecorderWebrecorder Dev Automation
Github Actions Webrecorder
and
Webrecorder Dev Automation
May 1, 2025
e47a3ce · May 1, 2025
Mar 21, 2024
Jun 19, 2022
Oct 18, 2022
Mar 9, 2023
May 20, 2023
Jun 19, 2022
Jun 19, 2022
Aug 15, 2024
Dec 21, 2022
May 1, 2025
Dec 21, 2022
Dec 13, 2023
May 20, 2023
Feb 23, 2025

Repository files navigation

Base Browser for Browsertrix Crawler

This repository contains a Dockerfile for platform-specific browser images for Browsertrix Crawler, based on Ubuntu 22.04, using Brave Browser or Chrome/Chromium depending on the --target passed to docker buildx build. Valid values: brave, chrome.

Brave is set as the default in the build scripts included in this repository, which set the --target based on the value of the BROWSER environment variable.

The CI is setup to build the images for each browser and platform, create draft releases on GitHub if a matching one does not already exist, and publish the images to DockerHub on each push to the main branch.

This image can be accessed from webrecorder/browsertrix-browser-base:<BROWSER>-<BROWSER_VERSION>.

See build.sh for how to build this image locally using docker buildx.

Brave

With --target=brave, the build uses Brave Browser for both AMD64 and ARM64 builds.

The .deb files are retrieved from releases the Brave Browser GitHub repository, based on the BROWSER_VERSION build-arg supplied. If BROWSER_VERSION is set to latest, the .deb files from the latest stable release on GitHub will be used.

Chrome

With --target=chrome, the build uses Google Chrome for AMD64 builds and Chromium builds for ARM64.

The .deb files are placed in platform-specific directories, <BROWSER_VERSION>/linux/amd64 and <BROWSER_VERSION>/linux/arm64 to support builds for those platform.