Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 28abbef

Browse files
committedFeb 27, 2018
use coming Ubuntu Bionic 18.04 as base Docker image
1 parent cb1a042 commit 28abbef

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed
 

‎.docker/Dockerfile

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:18.04
22
MAINTAINER Denis Rouzaud <denis.rouzaud@gmail.com>
33

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.