-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove dependency on external document service - Simplify support for custom fonts - Honour permissions on subreports - Optionally support basic auth
- Loading branch information
1 parent
a9a8ed1
commit 739eb66
Showing
11 changed files
with
629 additions
and
105 deletions.
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,15 +1,18 @@ | ||
FROM sourcepole/qwc-uwsgi-base:alpine-v2023.10.26 | ||
|
||
ADD requirements.txt /srv/qwc_service/requirements.txt | ||
ADD libs.txt /srv/qwc_service/libs.txt | ||
|
||
# git: Required for pip with git repos | ||
# postgresql-dev g++ python3-dev: Required for psycopg2 | ||
RUN \ | ||
apk add --no-cache --update --virtual runtime-deps postgresql-libs && \ | ||
apk add --no-cache --update --virtual build-deps git postgresql-dev g++ python3-dev && \ | ||
apk add --no-cache --update --virtual runtime-deps postgresql-libs openjdk17-jdk openjdk17-jre ttf-dejavu && \ | ||
apk add --no-cache --update --virtual build-deps postgresql-dev g++ python3-dev && \ | ||
pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt && \ | ||
mkdir /srv/qwc_service/libs && \ | ||
mkdir /srv/qwc_service/fonts && \ | ||
while IFS= read -r url; do if [ -n "$url" ]; then wget -P /srv/qwc_service/libs "$url"; fi; done < /srv/qwc_service/libs.txt && \ | ||
apk del build-deps | ||
|
||
ADD src /srv/qwc_service/ | ||
|
||
ENV LD_LIBRARY_PATH=/usr/lib/jvm/java-17-openjdk/lib/server | ||
ENV SERVICE_MOUNTPOINT=/api/v1/document |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
https://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.9.4/commons-beanutils-1.9.4.jar | ||
https://repo1.maven.org/maven2/org/apache/commons/commons-collections4/4.5.0-M2/commons-collections4-4.5.0-M2.jar | ||
https://repo1.maven.org/maven2/commons-digester/commons-digester/2.1/commons-digester-2.1.jar | ||
https://repo1.maven.org/maven2/commons-logging/commons-logging/1.3.4/commons-logging-1.3.4.jar | ||
https://repo1.maven.org/maven2/net/sf/jasperreports/jasperreports/6.21.3/jasperreports-6.21.3.jar | ||
https://jaspersoft.jfrog.io/artifactory/third-party-ce-artifacts/com/github/librepdf/openpdf/1.3.30.jaspersoft.3/openpdf-1.3.30.jaspersoft.3.jar | ||
https://repo1.maven.org/maven2/org/postgresql/postgresql/42.7.4/postgresql-42.7.4.jar | ||
|
||
|
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ Flask-JWT-Extended==4.6.0 | |
flask-restx==1.3.0 | ||
requests==2.32.0 | ||
qwc-services-core==1.3.30 | ||
JPype1==1.5.0 |
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
Oops, something went wrong.