Skip to content

Commit ed0b4de

Browse files
committed
Add libspatialite-dev, explicitly instruct GDAL compile to use Spatialite
1 parent aef0e69 commit ed0b4de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ RUN apt-get update -y --fix-missing && \
3131
libprotobuf32 \
3232
librsvg2-dev \
3333
libsqlite3-dev \
34+
libspatialite-dev \
3435
libtiff5-dev \
3536
libxslt1-dev \
3637
git \
@@ -75,6 +76,7 @@ RUN tar xzvf gdal-${GDAL_VERSION}.tar.gz && \
7576
-DCMAKE_INSTALL_PREFIX=/usr/local \
7677
-DCMAKE_BUILD_TYPE=Release \
7778
-DBUILD_TESTING=OFF \
79+
-DGDAL_USE_SPATIALITE=ON\
7880
&& \
7981
cmake --build . && \
8082
cmake --build . --target install

0 commit comments

Comments
 (0)