Skip to content

Commit 9c90276

Browse files
authored
Add some libraries and a call to fc-cache to the Dockerfile (#8899)
these libraries were loaded until recently, include them just in case they are used (jpeg will most probably be used by weasyprint)
1 parent 6f7322a commit 9c90276

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ RUN poetry export -f requirements.txt --without-hashes --only main | poetry run
3636
FROM base
3737

3838
# these libs are necessary for operation
39-
RUN apk --no-cache add libmagic cairo pango ttf-opensans
39+
RUN apk --no-cache add libmagic cairo pango ttf-opensans && \
40+
apk --no-cache add postgresql-libs libxslt jpeg zlib libxml2 # those *might* be useful
41+
RUN fc-cache -f
4042

4143
COPY --from=builder /opt/pysetup/.venv /opt/pysetup/.venv
4244

0 commit comments

Comments
 (0)