From 455a523205eb90a6be074a01bf56e2c029af404b Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Tue, 17 Jan 2023 17:12:27 +0530 Subject: [PATCH] fix: add weasyprint dependencies (#1047) * fix: add weasyprint dependencies fixes #1045 * ci: fix trigger to test pr * fix: add weasyprint deps to bench --- .github/workflows/build_develop.yml | 4 +--- .github/workflows/build_stable.yml | 8 ++------ images/bench/Dockerfile | 5 +++++ images/custom/Containerfile | 5 +++++ images/production/Containerfile | 5 +++++ 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build_develop.yml b/.github/workflows/build_develop.yml index c5bbde7a..c3807451 100644 --- a/.github/workflows/build_develop.yml +++ b/.github/workflows/build_develop.yml @@ -5,9 +5,7 @@ on: branches: - main paths: - - images/nginx/** - - images/socketio/** - - images/worker/** + - images/production/** - overrides/** - tests/** - compose.yaml diff --git a/.github/workflows/build_stable.yml b/.github/workflows/build_stable.yml index 0ec79acc..0a147dda 100644 --- a/.github/workflows/build_stable.yml +++ b/.github/workflows/build_stable.yml @@ -5,9 +5,7 @@ on: branches: - main paths: - - images/nginx/** - - images/socketio/** - - images/worker/** + - images/production/** - overrides/** - tests/** - compose.yaml @@ -19,9 +17,7 @@ on: branches: - main paths: - - images/nginx/** - - images/socketio/** - - images/worker/** + - images/production/** - overrides/** - tests/** - compose.yaml diff --git a/images/bench/Dockerfile b/images/bench/Dockerfile index 2c69e091..dbcb4593 100644 --- a/images/bench/Dockerfile +++ b/images/bench/Dockerfile @@ -18,6 +18,11 @@ RUN apt-get update \ fonts-cantarell \ xfonts-75dpi \ xfonts-base \ + # weasyprint dependencies + libpango-1.0-0 \ + libharfbuzz0b \ + libpangoft2-1.0-0 \ + libpangocairo-1.0-0 \ # to work inside the container locales \ build-essential \ diff --git a/images/custom/Containerfile b/images/custom/Containerfile index 66260330..7695c25a 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -14,6 +14,11 @@ RUN useradd -ms /bin/bash frappe \ vim \ nginx \ gettext-base \ + # weasyprint dependencies + libpango-1.0-0 \ + libharfbuzz0b \ + libpangoft2-1.0-0 \ + libpangocairo-1.0-0 \ # MariaDB mariadb-client \ # Postgres diff --git a/images/production/Containerfile b/images/production/Containerfile index a3ba9167..e975349d 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -14,6 +14,11 @@ RUN useradd -ms /bin/bash frappe \ vim \ nginx \ gettext-base \ + # weasyprint dependencies + libpango-1.0-0 \ + libharfbuzz0b \ + libpangoft2-1.0-0 \ + libpangocairo-1.0-0 \ # MariaDB mariadb-client \ # Postgres