Skip to content

Commit

Permalink
add package libcairo2-dev for xhtml2pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlundberg committed Nov 30, 2023
1 parent b3ffdda commit 964644c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
sudo apt update
# pysaml2 needs to find an xmlsec1 binary
# PIL/EpsImagePlugin.py needs to find a ghostscript binary
sudo apt install xmlsec1 ghostscript
# xhtml2pdf needs libcairo-dev
sudo apt install xmlsec1 ghostscript libcairo2-dev
- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .jenkins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pre_build_script:
- "docker pull docker.sunet.se/eduid/smtpdfix:latest"
- "docker pull neo4j:4.0-enterprise"
# pillow requires libjpeg and gs
- "apt-get install -y libjpeg-dev libfreetype6-dev ghostscript"
- "apt-get install -y libjpeg-dev libfreetype6-dev ghostscript libcairo2-dev"
environment_variables:
NEO4J_VERSION: "4.0-enterprise"
script:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ vscode_pip: vscode_venv
vscode_packages:
$(info Installing apt packages in devcontainer)
sudo apt-get update
sudo apt install -y swig xmlsec1 python3-venv docker.io ghostscript
sudo apt install -y swig xmlsec1 python3-venv docker.io ghostscript libcairo2-dev

# This target is used by the devcontainer.json to configure the devcontainer
vscode: vscode_packages vscode_pip vscode_hosts

0 comments on commit 964644c

Please sign in to comment.