Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use qgis repositories #2

Open
wants to merge 3 commits into
base: 2.18
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@ RUN apt-get install -y gnupg apt-transport-https ca-certificates
RUN echo "deb http://qgis.org/debian xenial main" >> /etc/apt/sources.list
RUN gpg --keyserver keyserver.ubuntu.com --recv CAEB3DC3BDF7FB45
RUN gpg --export --armor CAEB3DC3BDF7FB45 | apt-key add -

# add ubuntugis ppa for a recent enough gdal

RUN echo "deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial main" >> /etc/apt/sources.list

RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 314DF160

# add qgis repositories for ltr
RUN apt-get update && \
apt-get install wget

RUN wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
RUN gpg --fingerprint CAEB3DC3BDF7FB45
RUN echo "deb https://qgis.org/ubuntugis-ltr xenial main" >> /etc/apt/sources.list


RUN apt-get update && \
apt-get install -y qgis python-qgis qgis-plugin-grass \
locales locales-all && \
Expand Down