HUB
Sign inSign up
brave logo

dgcosenza/brave

By dgcosenza

•Updated about 4 hours ago

Hardened multi-arch Brave Browser Linux Web Desktop on Debian 13 (noVNC, signed, 0 fixable CVEs).

Image
0

153

dgcosenza/brave repository overview

⁠Brave Browser — Hardened Debian 13 (trixie-slim) Container Image

Daily CI OpenSSF Scorecard Workflow Gitleaks Secret Scan Public Content Check OpenSSF Scorecard OpenSSF Best Practices

Trivy + Grype: 0 Fixable CVEs Signed: Cosign OIDC SLSA Build L3 SBOM: SPDX + CycloneDX Base OS Architectures Healthcheck: CI Verified Renovate Enabled Dependabot Enabled Daily Rebuilds

Latest Release Release Date Last Commit Docker Pulls Docker Image Size Registries: Docker Hub + GHCR Packaging License: MIT Upstream License GitHub Issues FNX Labs Catalog

A hardened multi-arch Brave Browser browser-accessible Web Desktop container built on Debian 13 (trixie-slim) with TigerVNC, Openbox, SHA-256-verified static noVNC 1.7.0, and NGINX HTTP/HTTPS reverse proxy. Maintained by Daniel G. Cosenza from FNX Labs.

⁠Overview

dgcosenza/brave is a drop-in, zero-fixable-CVE replacement for lscr.io/linuxserver/brave. It fetches official brave/brave-browser Linux release archives for linux/amd64 and linux/arm64, verifies them against upstream .sha256 checksums, and serves the desktop over TigerVNC + static noVNC 1.7.0 + NGINX (:3000 HTTP / :3001 HTTPS) as non-root abc (1000:1000).

⁠Current Versions

ComponentResolved Version
Brave Browser1.100.59
Base OSDebian 13.8 (trixie-slim)
Architectureslinux/amd64, linux/arm64
Uncompressed size (per arch)amd64: 466.1 MB, arm64: 1184.6 MB
Last verified build (UTC)2026-11-28
Published multi-arch digestdgcosenza/brave@sha256:10aac2e7822222bbbeff8a3447af311e5fd02905168ca63c4eb645ddeca8da99
GHCR mirrorghcr.io/dgcosenza/brave@sha256:10aac2e7822222bbbeff8a3447af311e5fd02905168ca63c4eb645ddeca8da99
Supply chainCosign OIDC signed + SPDX & CycloneDX SBOM attestations + SLSA Build L3 provenance
Security gate (Trivy + Grype on SBOM)0 fixable findings of any severity (46 upstream-unfixed)

⁠Supported Tags

TagPolicyDescription
latestMovingLatest verified multi-arch build passing all CVE, Dive, and smoke gates.
<version> (e.g. 1.100.59)MovingLatest verified build for that upstream release.
<version>-<YYYYMMDD>ImmutableDate-stamped daily security rebuild.
sha-<short>ImmutableGit commit tag from this repository.

Pin production deployments by immutable digest: dgcosenza/brave@sha256:<digest> or ghcr.io/dgcosenza/brave@sha256:<digest>.

⁠Supported Architectures

ArchitectureStatusVerification
linux/amd64Published & natively testedNative x86_64 build, smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3.
linux/arm64Published & natively testedNative ARM64 build, smoke test, Dive >= 95%, Trivy + Grype 0 fixable CVEs, Cosign OIDC, SLSA L3.

⁠Quick Start

Volume ownership note: docker-compose.example.yml defaults to a named Docker volume so non-root runtime permissions (1000:1000) are initialized automatically; if switching to a host bind mount, pre-create the directory owned by 1000:1000 before docker compose up -d.

docker run -d --name brave --restart unless-stopped \
  --security-opt no-new-privileges:true --shm-size 1g \
  -p 127.0.0.1:3000:3000 -p 127.0.0.1:3001:3001 \
  -e PUID=1000 -e PGID=1000 -e TZ=Etc/UTC \
  -v brave_config:/config \
  dgcosenza/brave:latest

⁠Compose Example

See docker-compose.example.yml⁠:

services:
  brave:
    image: dgcosenza/brave:latest
    container_name: brave
    restart: unless-stopped
    shm_size: "1gb"
    security_opt:
      - no-new-privileges:true
    ports:
      - "127.0.0.1:3000:3000"
      - "127.0.0.1:3001:3001"
    environment:
      PUID: "1000"
      PGID: "1000"
      TZ: "Etc/UTC"
      TITLE: "Brave Browser"
      CUSTOM_USER: "admin"
      PASSWORD_FILE: "/run/secrets/brave_password"
    secrets:
      - brave_password
    volumes:
      - brave_config:/config
secrets:
  brave_password:
    file: ./secrets/brave_password.txt
volumes:
  brave_config:

⁠Configuration

VariableDefaultDescription
PUID / PGID1000 / 1000UID and GID mapped to the desktop user abc.
CUSTOM_USERabcUsername when HTTP Basic Authentication is enabled.
PASSWORD / PASSWORD_FILE(empty)Optional password or Docker secret path enabling HTTP Basic Auth on :3000 / :3001.
SCREEN_WIDTH / SCREEN_HEIGHT1440 / 900Initial virtual display geometry (AcceptSetDesktopSize=1 resizes dynamically).
TITLEBrave BrowserBrowser tab title in the noVNC web client.
TZEtc/UTCContainer timezone.

Ports: 3000/tcp (HTTP noVNC), 3001/tcp (HTTPS noVNC). Volumes: /config. User: abc (PUID:PGID, default 1000:1000 via setpriv). PID 1: tini.

⁠Healthcheck

HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
  CMD ["sh", "-c", "curl -sk -o /dev/null -w '%{http_code}' --max-time 5 https://127.0.0.1:3001/ | grep -qE '^(200|301|302|401)$'"]

Probes https://127.0.0.1:3001/ and verifies TLS + NGINX + noVNC readiness (200 or 401 when Basic Auth is active).

⁠Web Desktop Architecture & Authentication

  1. Connect over HTTPS at https://127.0.0.1:3001/ (or place behind a TLS reverse proxy on :3000).
  2. Provide PASSWORD_FILE=/run/secrets/... to enforce bcrypt HTTP Basic Authentication via NGINX.

⁠Supply-Chain Verification

cosign verify \
  --certificate-identity-regexp="^https://github\.com/dgcosenza/brave-docker/\.github/workflows/daily\.yml@refs/heads/main$" \
  --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \
  ghcr.io/dgcosenza/brave:latest

gh attestation verify oci://ghcr.io/dgcosenza/brave:latest --owner dgcosenza

⁠Security

  • 0 fixable vulnerabilities of any severity: Hard-gated in CI by Trivy (UNKNOWN–CRITICAL, --ignore-unfixed, exit 1) and Grype on the Syft SPDX SBOM (--only-fixed --fail-on negligible) on both amd64 and arm64.
  • Hardened runtime: Runs under tini PID 1 with least-privilege capabilities and no-new-privileges:true.
  • Report issues via SECURITY.md⁠.

⁠Build Locally

docker buildx build --platform linux/amd64 --load -t dgcosenza/brave:local .
./tests/smoke.sh dgcosenza/brave:local

⁠Update Policy

.github/workflows/daily.yml⁠ runs daily at 05:41 UTC with --no-cache: refreshes the debian:13.8-slim digest and OS security patches, runs smoke + Dive + Trivy + Grype gates on amd64 and arm64, publishes identical Cosign-signed SLSA L3 digests to Docker Hub and GHCR (plus optional Quay.io, GitLab, Codeberg, and Amazon ECR Public mirrors when configured), creates a signed GitHub Release, syncs docs & Docker Hub overview, and manages a single ci-failure issue.

⁠Design Decisions

  • Official SHA-256-verified multi-arch Linux releases: Downloads brave-browser-<ver>-linux-{amd64,arm64}.zip and validates .sha256 directly from brave/brave-browser.
  • Static noVNC 1.7.0 without Node.js: Eliminates Debian's novnc Node.js dependency tree.

⁠License

Packaging, scripts, workflows, and documentation (packaging: MIT, upstream: MPL-2.0) are licensed under the MIT License⁠ — copyright Daniel G. Cosenza from FNX Labs. Third-party upstream notices: THIRD-PARTY-NOTICES.md⁠.

⁠Credits

Maintained by Daniel G. Cosenza from FNX Labs. Upstream project: brave/brave-browser⁠.

Tag summary

Content type

Image

Digest

sha256:10aac2e78…

Size

444.5 MB

Last updated

about 4 hours ago

docker pull dgcosenza/brave