From 63da01c702a5177947501e660a3e158be8844341 Mon Sep 17 00:00:00 2001 From: dt Date: Thu, 28 Oct 2021 12:43:33 +0300 Subject: [PATCH] fix: Add missing packages for frappe:develop --- build/frappe-worker/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build/frappe-worker/Dockerfile b/build/frappe-worker/Dockerfile index 11ca6f71..6f8446a1 100644 --- a/build/frappe-worker/Dockerfile +++ b/build/frappe-worker/Dockerfile @@ -40,6 +40,16 @@ RUN apt-get update -y && apt-get install \ # For arm64 python wheel builds gcc \ g++ -y \ + # Install additional requirements for develop branch + && if [ "${GIT_BRANCH}" = 'develop' ]; then \ + apt-get install -y \ + libcairo2 \ + python3-cffi \ + python3-brotli \ + libpango-1.0-0 \ + libpangoft2-1.0-0 \ + libpangocairo-1.0-0; \ + fi \ # Detect arch, download and install wkhtmltox && if [ `uname -m` = 'aarch64' ]; then export ARCH=arm64; fi \ && if [ `uname -m` = 'x86_64' ]; then export ARCH=amd64; fi \