-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added info about the used weasyprint docker-image version (#40)
* feat: Added info about the used weasyprint docker-image version Refs: #104 * feat: Added info about the used weasyprint docker-image version Refs: #104
- Loading branch information
1 parent
293d9a8
commit ad27a7a
Showing
3 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
FROM python:3.12.4-slim@sha256:740d94a19218c8dd584b92f804b1158f85b0d241e5215ea26ed2dcade2b9d138 | ||
LABEL maintainer="Team Polarion (CLEW/WZU/POLARION) <[email protected]>" | ||
ARG APP_VERSION | ||
|
||
RUN apt-get update && \ | ||
apt-get --yes --no-install-recommends install python3-cffi python3-brotli libpango-1.0-0 libpangoft2-1.0-0 fonts-liberation chromium && \ | ||
|
@@ -9,6 +10,7 @@ RUN apt-get update && \ | |
|
||
ENV WORKING_DIR=/opt/weasyprint | ||
ENV CHROME_EXECUTABLE_PATH=/usr/bin/chromium | ||
ENV WEASYPRINT_SERVICE_VERSION=$APP_VERSION | ||
|
||
WORKDIR ${WORKING_DIR} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters