2018-02-27 09:16:02 -09:00
FROM ubuntu:18.04
MAINTAINER Denis Rouzaud <denis@opengis.ch>
2017-08-05 00:03:33 +02:00
2018-11-13 12:50:53 +01:00
LABEL Description="Docker container with QGIS dependencies" Vendor="QGIS.org" Version="1.1"
2017-08-05 00:03:33 +02:00
2018-02-27 09:16:02 -09:00
# && 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 \
2018-10-09 09:01:50 +10:00
2017-08-05 00:03:33 +02:00
RUN apt-get update \
&& apt-get install -y software-properties-common \
&& apt-get update \
2019-03-07 13:08:49 +01:00
&& DEBIAN_FRONTEND=noninteractive \
2018-11-13 12:50:53 +01:00
apt-get install -y \
2018-10-09 09:01:50 +10:00
apt-transport-https \
2017-08-05 00:03:33 +02:00
bison \
ca-certificates \
ccache \
clang \
2018-02-27 09:16:02 -09:00
cmake \
2017-09-21 19:07:51 +02:00
curl \
2017-08-05 00:03:33 +02:00
dh-python \
flex \
gdal-bin \
2017-08-13 20:58:20 +02:00
git \
2017-08-05 00:03:33 +02:00
graphviz \
grass-dev \
2019-11-04 17:51:17 +01:00
libaio1 \
2018-11-09 08:54:39 +10:00
libexiv2-dev \
2017-08-05 00:03:33 +02:00
libexpat1-dev \
libfcgi-dev \
libgdal-dev \
libgeos-dev \
libgsl-dev \
libpq-dev \
libproj-dev \
2020-03-25 16:34:33 +01:00
libprotobuf-dev \
2017-08-05 00:03:33 +02:00
libqca-qt5-2-dev \
libqca-qt5-2-plugins \
2018-02-27 09:16:02 -09:00
libqt53drender5 \
2018-04-26 13:33:48 +02:00
libqt5concurrent5 \
2017-08-05 00:03:33 +02:00
libqt5opengl5-dev \
2018-04-26 13:33:48 +02:00
libqt5positioning5 \
libqt5qml5 \
libqt5quick5 \
libqt5quickcontrols2-5 \
2017-08-05 00:03:33 +02:00
libqt5scintilla2-dev \
2018-10-09 09:01:50 +10:00
libqt5sql5-odbc \
2017-08-05 00:03:33 +02:00
libqt5sql5-sqlite \
libqt5svg5-dev \
libqt5webkit5-dev \
2018-04-26 13:33:48 +02:00
libqt5xml5 \
2018-02-18 11:53:04 +01:00
libqt5serialport5-dev \
2017-08-05 00:03:33 +02:00
libqwt-qt5-dev \
libspatialindex-dev \
libspatialite-dev \
libsqlite3-dev \
libsqlite3-mod-spatialite \
libzip-dev \
lighttpd \
locales \
ninja-build \
pkg-config \
poppler-utils \
postgresql-client \
2020-03-30 22:55:35 +02:00
protobuf-compiler \
2017-08-05 00:03:33 +02:00
pyqt5-dev \
pyqt5-dev-tools \
pyqt5.qsci-dev \
python3-all-dev \
python3-dev \
python3-future \
python3-gdal \
python3-mock \
python3-nose2 \
python3-pip \
python3-psycopg2 \
2019-11-08 07:21:22 +01:00
python3-pyproj \
2017-08-05 00:03:33 +02:00
python3-pyqt5 \
python3-pyqt5.qsci \
python3-pyqt5.qtsql \
python3-pyqt5.qtsvg \
2018-11-13 12:50:53 +01:00
python3-pyqt5.qtwebkit \
2017-08-05 00:03:33 +02:00
python3-sip \
python3-sip-dev \
python3-termcolor \
python3-yaml \
2018-02-27 09:16:02 -09:00
qt3d5-dev \
qt3d-assimpsceneimport-plugin \
qt3d-defaultgeometryloader-plugin \
qt3d-gltfsceneio-plugin \
qt3d-scene2d-plugin \
2017-08-05 00:03:33 +02:00
qt5keychain-dev \
qtbase5-dev \
2018-04-26 13:33:48 +02:00
qtdeclarative5-dev-tools \
qtdeclarative5-qtquick2-plugin \
2017-08-05 00:03:33 +02:00
qtpositioning5-dev \
qttools5-dev \
qttools5-dev-tools \
2018-07-16 01:38:05 +02:00
qtbase5-private-dev \
2018-04-09 11:46:24 +10:00
saga \
2017-08-05 00:03:33 +02:00
spawn-fcgi \
2020-09-15 09:41:12 +02:00
supervisor \
2019-11-04 17:51:17 +01:00
unzip \
2017-08-05 00:03:33 +02:00
xauth \
xfonts-100dpi \
xfonts-75dpi \
xfonts-base \
xfonts-scalable \
xvfb \
2018-11-13 12:50:53 +01:00
opencl-headers \
ocl-icd-libopencl1 \
ocl-icd-opencl-dev \
expect \
2017-08-05 00:03:33 +02:00
&& pip3 install \
psycopg2 \
numpy \
nose2 \
pyyaml \
mock \
future \
termcolor \
2018-04-13 21:05:02 +01:00
owslib \
2017-10-27 05:08:42 -06:00
oauthlib \
2018-06-25 13:16:42 +02:00
pyopenssl \
2018-11-13 12:50:53 +01:00
pep8 \
pexpect \
capturer \
sphinx \
requests \
six \
2018-02-27 09:16:02 -09:00
&& apt-get clean
2017-08-05 00:03:33 +02:00
2019-11-04 17:51:17 +01:00
# Oracle : client side
RUN curl https://download.oracle.com/otn_software/linux/instantclient/193000/instantclient-basic-linux.x64-19.3.0.0.0dbru.zip > instantclient-basic-linux.x64-19.3.0.0.0dbru.zip
RUN curl https://download.oracle.com/otn_software/linux/instantclient/193000/instantclient-sdk-linux.x64-19.3.0.0.0dbru.zip > instantclient-sdk-linux.x64-19.3.0.0.0dbru.zip
RUN curl https://download.oracle.com/otn_software/linux/instantclient/193000/instantclient-sqlplus-linux.x64-19.3.0.0.0dbru.zip > instantclient-sqlplus-linux.x64-19.3.0.0.0dbru.zip
RUN unzip instantclient-basic-linux.x64-19.3.0.0.0dbru.zip
RUN unzip instantclient-sdk-linux.x64-19.3.0.0.0dbru.zip
RUN unzip instantclient-sqlplus-linux.x64-19.3.0.0.0dbru.zip
ENV PATH="/instantclient_19_3:${PATH}"
ENV LD_LIBRARY_PATH="/instantclient_19_3:${LD_LIBRARY_PATH}"
2019-03-07 13:08:49 +01:00
# MSSQL: client side
RUN curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
RUN curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | tee /etc/apt/sources.list.d/msprod.list
RUN apt-get update
RUN ACCEPT_EULA=Y apt-get install -y msodbcsql17 mssql-tools
2018-10-09 09:01:50 +10:00
# Avoid sqlcmd termination due to locale -- see https://github.com/Microsoft/mssql-docker/issues/163
RUN echo "nb_NO.UTF-8 UTF-8" > /etc/locale.gen
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
RUN locale-gen
2017-08-05 00:03:33 +02:00
RUN echo "alias python=python3" >> ~/.bash_aliases
2019-01-08 17:43:28 +01:00
# OTB: download and install otb packages for QGIS tests
2020-03-24 10:33:05 +01:00
RUN curl -k https://www.orfeo-toolbox.org/packages/OTB-7.1.0-Linux64.run -o /tmp/OTB-Linux64.run && sh /tmp/OTB-Linux64.run --target /opt/otb
2019-01-10 11:41:13 +01:00
ENV OTB_INSTALL_DIR=/opt/otb
2019-11-03 23:27:14 +01:00
# Clazy
RUN curl -k https://downloads.kdab.com/clazy/1.6/Clazy-x86_64-1.6.AppImage -o /tmp/Clazy.AppImage \
&& chmod +x /tmp/Clazy.AppImage \
&& mkdir /opt/clazy \
&& cd /opt/clazy \
&& /tmp/Clazy.AppImage --appimage-extract \
2019-11-05 20:32:14 +01:00
&& ln -s /opt/clazy/squashfs-root/AppRun /usr/bin/clazy \
&& ln -s ../../bin/ccache /usr/lib/ccache/clazy
2019-11-03 23:27:14 +01:00
2019-06-18 22:32:32 +02:00
ENV QT_SELECT=5
2017-09-20 13:42:59 +02:00
ENV LANG=C.UTF-8
2017-12-18 10:52:35 -04:00
ENV PATH="/usr/local/bin:${PATH}"