Skip to content
Permalink
Browse files

add Dockerfile for automated build on docker cloud

  • Loading branch information
3nids committed Aug 16, 2017
1 parent a9d8d39 commit d03f59909332d0aac8af1e4247e0d9f7d9821587
Showing with 32 additions and 0 deletions.
  1. +2 −0 .dockerignore
  2. +30 −0 Dockerfile
@@ -0,0 +1,2 @@
/.*
build*
@@ -0,0 +1,30 @@

ARG CACHE_TAG=latest

FROM qgis/qgis3-build-deps:${CACHE_TAG}
MAINTAINER Denis Rouzaud <denis.rouzaud@gmail.com>

ENV CC=/usr/lib/ccache/clang
ENV CXX=/usr/lib/ccache/clang++
ENV QT_SELECT=5

COPY . /usr/src/QGIS

WORKDIR /usr/src/QGIS/build

RUN cmake \
-GNinja \
-DWITH_STAGED_PLUGINS=ON \
-DWITH_GRASS=ON \
-DSUPPRESS_QT_WARNINGS=ON \
-DENABLE_TESTS=OFF \
-DWITH_QSPATIALITE=ON \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=OFF \
-DWITH_ASTYLE=OFF \
-DWITH_DESKTOP=ON \
-DWITH_BINDINGS=ON \
-DDISABLE_DEPRECATED=ON \
.. \
&& ninja install \
&& rm -rf /usr/src/QGIS/build/*

0 comments on commit d03f599

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