Skip to content

Commit 3e78e95

Browse files
authored
Update QGIS LTR repo configuration in Dockerfile
1 parent cac3b39 commit 3e78e95

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

qgis/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ RUN gpg --no-default-keyring --keyring /etc/apt/keyrings/ubuntugis-unstable-arch
4545
# Add QGIS LTR repo and key
4646
RUN wget -qO /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
4747
# 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+
# if we want qgis ltr, we need to run the following line
49+
RUN sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/qgis-archive-keyring.gpg] https://qgis.org/ubuntu-ltr `lsb_release -c -s` main" > /etc/apt/sources.list.d/qgis.list'
50+
4851
RUN apt-get update && apt-get -y --with-new-pkgs upgrade
4952
RUN apt-get install -y --no-install-recommends qgis grass qgis-plugin-grass saga
5053

0 commit comments

Comments
 (0)