Skip to content

Commit 08463b5

Browse files
committed
qgisprocess: Update for base image debian:13
1 parent 2b13468 commit 08463b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

qgisprocess/latest.Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,15 @@ RUN apt-get update \
178178
&& apt-get -y install --no-install-recommends python3-pip \
179179
&& export PIP_BREAK_SYSTEM_PACKAGES=1 \
180180
&& /usr/bin/pip install qgis-plugin-manager \
181+
## QGIS: Make sure qgis_mapserver and qgis_process find the qgis module
182+
&& cp -a $(which qgis_mapserver) $(which qgis_mapserver)_ \
183+
&& echo '#!/bin/bash' > $(which qgis_mapserver) \
184+
&& echo "PYTHONPATH=/usr/lib/python3/dist-packages $(which qgis_mapserver)_ \"\${@}\"" >> \
185+
$(which qgis_mapserver) \
186+
&& cp -a $(which qgis_process) $(which qgis_process)_ \
187+
&& echo '#!/bin/bash' > $(which qgis_process) \
188+
&& echo "PYTHONPATH=/usr/lib/python3/dist-packages $(which qgis_process)_ \"\${@}\"" >> \
189+
$(which qgis_process) \
181190
## Install qgisprocess, the R interface to QGIS
182191
&& install2.r --error --skipinstalled -n $NCPUS qgisprocess \
183192
## Strip libraries of binary packages installed from PPPM

0 commit comments

Comments
 (0)