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/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 \ 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 \