-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop split categorized layers functionality moved to qwc-qgis-server-…
…plugins
- Loading branch information
1 parent
05060c4
commit e0261a3
Showing
7 changed files
with
8 additions
and
201 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
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,28 +1,18 @@ | ||
FROM sourcepole/qwc-uwsgi-base:ubuntu-v2024.01.16 | ||
FROM sourcepole/qwc-uwsgi-base:alpine-v2023.10.26 | ||
|
||
ADD requirements.txt /srv/qwc_service/requirements.txt | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# git: Required for pip with git repos | ||
# libpq-dev g++ python3-dev: Required for psycopg2 | ||
# postgresql-dev g++ python3-dev: Required for psycopg2 | ||
RUN \ | ||
echo "deb http://qgis.org/ubuntu-ltr jammy main" > /etc/apt/sources.list.d/qgis.org-debian.list && \ | ||
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key D155B8E6A419C5BE && \ | ||
apt-get update && \ | ||
apt-get install -y libpq-dev g++ python3-dev && \ | ||
python3 -m pip install --no-cache-dir -r /srv/qwc_service/requirements.txt && \ | ||
apt-get purge -y libpq-dev g++ python3-dev && \ | ||
apt-get install -y python3-qgis && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
apk add --no-cache --virtual runtime-deps postgresql-libs && \ | ||
apk add --no-cache --virtual build-deps --update git postgresql-dev g++ python3-dev && \ | ||
pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt && \ | ||
apk del build-deps | ||
|
||
ADD src /srv/qwc_service/ | ||
ADD schemas /srv/qwc_service/schemas | ||
|
||
# This is needed because the qgis.core library is not capable of running in multiple threads | ||
ENV UWSGI_THREADS=1 | ||
|
||
# download JSON schemas for QWC services | ||
ENV JSON_SCHEMAS_PATH=/srv/qwc_service/schemas/ | ||
RUN python3 /srv/qwc_service/download_json_schemas.py |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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