File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,12 @@ RUN mkdir -p /root/.gnupg
4141RUN chmod 700 /root/.gnupg
4242# Version that works in image:
4343RUN gpg --no-default-keyring --keyring /etc/apt/keyrings/ubuntugis-unstable-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6B827C12C2D425E227EDCA75089EBE08314DF160
44- RUN sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/ubuntugis-unstable-archive-keyring.gpg] http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu `lsb_release -c -s` main" > /etc/apt/sources.list.d/ubuntugis-unstable.list'
44+
45+ # Add QGIS LTR repo and key
4546RUN wget -qO /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
46- RUN sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/qgis-archive-keyring.gpg] https://qgis.org/ubuntugis-nightly-release `lsb_release -c -s` main" > /etc/apt/sources.list.d/qgis.list'
47- RUN apt-get update
48- # TODO: Re-instate this line to install GRASS plugin?:
49- # RUN apt-get install -y qgis qgis-plugin-grass saga
50- # Without grass-plugin (failing), see https://github.com/geocompx/docker/issues/102
51- RUN apt-get install -y qgis saga
47+ # RUN sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/qgis-archive-keyring.gpg] https://qgis.org/ubuntugis-ltr `lsb_release -c -s` main" > /etc/apt/sources.list.d/qgis.list'
48+ RUN apt-get update && apt-get -y --with-new-pkgs upgrade
49+ RUN apt-get install -y --no-install-recommends qgis grass qgis-plugin-grass saga
5250
5351RUN wget -qO sagang_plugin.zip https://plugins.qgis.org/plugins/processing_saga_nextgen/version/0.0.7/download/
5452RUN unzip -q sagang_plugin.zip -d /home/rstudio/.local/share/QGIS/QGIS3/profiles/default/python/plugins
You can’t perform that action at this time.
0 commit comments