File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -178,6 +178,15 @@ RUN apt-get update \
178
178
&& apt-get -y install --no-install-recommends python3-pip \
179
179
&& export PIP_BREAK_SYSTEM_PACKAGES=1 \
180
180
&& /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) \
181
190
# # Install qgisprocess, the R interface to QGIS
182
191
&& install2.r --error --skipinstalled -n $NCPUS qgisprocess \
183
192
# # Strip libraries of binary packages installed from PPPM
You can’t perform that action at this time.
0 commit comments