From 8b3def7162b5b868c54c83b2e0901ff1fb784354 Mon Sep 17 00:00:00 2001 From: trustedcomputer Date: Mon, 16 Feb 2026 06:51:59 -0800 Subject: [PATCH 1/2] feat: add chromium pdf generator support --- compose.yaml | 1 + images/custom/Containerfile | 2 ++ images/production/Containerfile | 2 ++ 3 files changed, 5 insertions(+) diff --git a/compose.yaml b/compose.yaml index edf406ca..c1f2eb63 100644 --- a/compose.yaml +++ b/compose.yaml @@ -33,6 +33,7 @@ services: bench set-config -g redis_queue "redis://$$REDIS_QUEUE"; bench set-config -g redis_socketio "redis://$$REDIS_QUEUE"; bench set-config -gp socketio_port $$SOCKETIO_PORT; + bench set-config -g chromium_path /usr/bin/chromium-headless-shell; environment: DB_HOST: ${DB_HOST:-} DB_PORT: ${DB_PORT:-} diff --git a/images/custom/Containerfile b/images/custom/Containerfile index 97b9906e..eefa4e6c 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -25,6 +25,8 @@ RUN useradd -ms /bin/bash frappe \ libharfbuzz0b \ libpangoft2-1.0-0 \ libpangocairo-1.0-0 \ + #Chromium + chromium-headless-shell \ # For backups restic \ gpg \ diff --git a/images/production/Containerfile b/images/production/Containerfile index abebba86..4a8c7f4c 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -22,6 +22,8 @@ RUN useradd -ms /bin/bash frappe \ libharfbuzz0b \ libpangoft2-1.0-0 \ libpangocairo-1.0-0 \ + #Chromium + chromium-headless-shell \ # For backups restic \ gpg \ From 2c43d346460cedb36f608880b09b45536741bd26 Mon Sep 17 00:00:00 2001 From: Trusted Computer <75872475+trustedcomputer@users.noreply.github.com> Date: Thu, 19 Feb 2026 09:10:18 -0800 Subject: [PATCH 2/2] feat: add chromium pdf generator support --- images/bench/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/bench/Dockerfile b/images/bench/Dockerfile index 7591eec4..9c21345d 100644 --- a/images/bench/Dockerfile +++ b/images/bench/Dockerfile @@ -23,6 +23,8 @@ RUN apt-get update \ libharfbuzz0b \ libpangoft2-1.0-0 \ libpangocairo-1.0-0 \ + #Chromium + chromium-headless-shell \ # to work inside the container locales \ build-essential \