Skip to content
Permalink
Browse files

use coming Ubuntu Bionic 18.04 as base Docker image

  • Loading branch information
3nids committed Feb 27, 2018
1 parent cb1a042 commit 28abbef96071b9e39c3a6b9eb522ef1a1ae8af8b
Showing with 5 additions and 8 deletions.
  1. +5 −8 .docker/Dockerfile
@@ -1,11 +1,13 @@
FROM ubuntu:16.04
FROM ubuntu:18.04
MAINTAINER Denis Rouzaud <denis.rouzaud@gmail.com>

LABEL Description="Docker container with QGIS dependencies" Vendor="QGIS.org" Version="1.0"

RUN apt-get update \
&& apt-get install -y software-properties-common \
&& add-apt-repository ppa:ubuntugis/ubuntugis-unstable \
&& echo "deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial main" >> /etc/apt/sources.list \
&& echo "deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial main" >> /etc/apt/sources.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 314DF160 \
&& apt-get update \
&& apt-get install -y \
bison \
@@ -90,12 +92,7 @@ RUN apt-get update \
&& apt-get clean \
&& curl -s -S -O https://cmake.org/files/v3.10/cmake-3.10.2-Linux-x86_64.tar.gz \
&& tar --strip-components=1 -zx -f cmake-3.10.2-Linux-x86_64.tar.gz -C /usr/local \
&& rm cmake-3.10.2-Linux-x86_64.tar.gz \
&& mkdir /root/sip \
&& curl -s -S -O -L https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.7/sip-4.19.7.tar.gz \
&& tar --strip-components=1 -zx -f sip-4.19.7.tar.gz -C /root/sip \
&& python3 /root/sip/configure.py && make && make install \
&& rm sip-4.19.7.tar.gz
&& rm cmake-3.10.2-Linux-x86_64.tar.gz

RUN echo "alias python=python3" >> ~/.bash_aliases

0 comments on commit 28abbef

Please sign in to comment.
You can’t perform that action at this time.