File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 - name : Install system dependencies
2626 run : |
2727 sudo apt-get update -qq
28- sudo apt-get install -y --no-install-recommends libicu-dev libgdiplus fonts-liberation
28+ echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections
29+ sudo apt-get install -y --no-install-recommends libicu-dev libgdiplus ttf-mscorefonts-installer
2930
3031 - name : Install package
3132 run : pip install -r Examples/requirements.txt
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ FROM python:3.13-slim
33# System dependencies required by the .NET runtime:
44# - libicu-dev: ICU for .NET globalization
55# - libgdiplus: GDI+ for System.Drawing (image conversions)
6- # - fonts-liberation: fonts for watermark/text rendering
6+ # - ttf-mscorefonts-installer: Microsoft core fonts (Arial etc.) for watermarks
77RUN apt-get update -qq \
8- && apt-get install -y --no-install-recommends libicu-dev libgdiplus fonts-liberation \
8+ && echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections \
9+ && apt-get install -y --no-install-recommends libicu-dev libgdiplus ttf-mscorefonts-installer \
910 && rm -rf /var/lib/apt/lists/*
1011
1112WORKDIR /app
You can’t perform that action at this time.
0 commit comments