Skip to content

Commit

Permalink
Add some libraries and a call to fc-cache to the Dockerfile (#8899)
Browse files Browse the repository at this point in the history
these libraries were loaded until recently, include them just
in case they are used (jpeg will most probably be used by
weasyprint)
  • Loading branch information
norbusan committed Jun 15, 2023
1 parent 6f7322a commit 9c90276
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ RUN poetry export -f requirements.txt --without-hashes --only main | poetry run
FROM base

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

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

Expand Down

0 comments on commit 9c90276

Please sign in to comment.