Skip to content

Commit

Permalink
Install qgis-plugin-manager from conda too
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Sep 14, 2023
1 parent fc2a159 commit e4387be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion images/qgis/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ ARG IMAGE_PREFIX
FROM ${IMAGE_PREFIX}base:latest

RUN mamba install -c conda-forge --yes \
qgis
qgis \
qgis-plugin-manager

COPY --chown=1000:1000 setup-qgis-plugins.bash /tmp/setup-qgis-plugins.bash
RUN /tmp/setup-qgis-plugins.bash && rm /tmp/setup-qgis-plugins.bash
Expand Down
5 changes: 0 additions & 5 deletions images/qgis/setup-qgis-plugins.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
# on the cloud
set -euo pipefail

# First, let's install the plugin manager
# Install from pip until https://github.com/conda-forge/staged-recipes/pull/23971
# is merged and available from `conda-forge`
pip install --no-cache qgis-plugin-manager

# Tell qgis-plugin-manager where our qgis plugins are
export QGIS_PLUGINPATH=/opt/conda/share/qgis/python/plugins

Expand Down

0 comments on commit e4387be

Please sign in to comment.