forked from OSGeo/gdal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker: update dependencies, and bump Alpine to 3.18 [ci skip]
- Loading branch information
Showing
6 changed files
with
39 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# Public domain | ||
# or licensed under MIT (LICENSE.TXT) Copyright 2019 Even Rouault <[email protected]> | ||
|
||
ARG ALPINE_VERSION=3.17 | ||
ARG ALPINE_VERSION=3.18 | ||
FROM alpine:${ALPINE_VERSION} as builder | ||
|
||
# Derived from osgeo/proj by Howard Butler <[email protected]> | ||
|
@@ -127,10 +127,28 @@ RUN mkdir proj \ | |
&& for i in /build_proj/usr/lib/*; do strip -s $i 2>/dev/null || /bin/true; done \ | ||
&& for i in /build_proj/usr/bin/*; do strip -s $i 2>/dev/null || /bin/true; done | ||
|
||
# Build freexl | ||
ARG FREEXL_VERSION=2.0.0 | ||
RUN if test "${FREEXL_VERSION}" != ""; then ( \ | ||
wget -q https://www.gaia-gis.it/gaia-sins/freexl-${FREEXL_VERSION}.tar.gz \ | ||
&& tar xzf freexl-${FREEXL_VERSION}.tar.gz \ | ||
&& rm -f freexl-${FREEXL_VERSION}.tar.gz \ | ||
&& apk add --no-cache minizip-dev \ | ||
&& cd freexl-${FREEXL_VERSION} \ | ||
&& ./configure --prefix=/usr --disable-static \ | ||
&& make -j$(nproc) \ | ||
&& rm -f /usr/lib/libfreexl.* \ | ||
&& make install \ | ||
&& cp -P /usr/lib/libfreexl.so* /build_thirdparty/usr/lib \ | ||
&& for i in /build_thirdparty/usr/lib/*; do strip -s $i 2>/dev/null || /bin/true; done \ | ||
&& cd .. \ | ||
&& rm -rf freexl-${FREEXL_VERSION} \ | ||
); fi | ||
|
||
# Build spatialite | ||
ARG SPATIALITE_VERSION=5.0.1 | ||
ARG SPATIALITE_VERSION=5.1.0 | ||
RUN if test "${SPATIALITE_VERSION}" != "" -a "$(uname -m)" = "x86_64"; then ( \ | ||
wget -q http://www.gaia-gis.it/gaia-sins/libspatialite-${SPATIALITE_VERSION}.tar.gz \ | ||
wget -q https://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${SPATIALITE_VERSION}.tar.gz \ | ||
&& tar xzf libspatialite-${SPATIALITE_VERSION}.tar.gz \ | ||
&& rm -f libspatialite-${SPATIALITE_VERSION}.tar.gz \ | ||
&& cd libspatialite-${SPATIALITE_VERSION} \ | ||
|
@@ -209,6 +227,7 @@ RUN if test "${GDAL_VERSION}" = "master"; then \ | |
-DGDAL_USE_GEOTIFF_INTERNAL=ON \ | ||
-DIconv_INCLUDE_DIR=/usr/include/gnu-libiconv \ | ||
-DIconv_LIBRARY=/usr/lib/libiconv.so \ | ||
-DBUILD_TESTING=OFF \ | ||
&& make -j$(nproc) \ | ||
&& make install DESTDIR="/build" \ | ||
&& (make -j$(nproc) multireadtest && cp apps/multireadtest /build/usr/bin) \ | ||
|
@@ -260,7 +279,7 @@ RUN apk add --no-cache \ | |
icu-libs \ | ||
python3 py3-numpy ${POPPLER} pcre2 libpq libxml2 portablexdr openjpeg \ | ||
netcdf hdf5 freexl \ | ||
openexr libheif xerces-c geos cfitsio minizip \ | ||
openexr-libopenexr imath libheif xerces-c geos cfitsio minizip \ | ||
lz4-libs blosc libdeflate brotli-libs liburiparser \ | ||
libarchive \ | ||
kealib libjxl \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# Public domain | ||
# or licensed under MIT (LICENSE.TXT) Copyright 2019 Even Rouault <[email protected]> | ||
|
||
ARG ALPINE_VERSION=3.17 | ||
ARG ALPINE_VERSION=3.18 | ||
FROM alpine:${ALPINE_VERSION} as builder | ||
|
||
# Derived from osgeo/proj by Howard Butler <[email protected]> | ||
|
@@ -127,6 +127,7 @@ RUN if test "${GDAL_VERSION}" = "master"; then \ | |
-DCMAKE_BUILD_TYPE=Release \ | ||
-DGDAL_USE_TIFF_INTERNAL=ON \ | ||
-DGDAL_USE_GEOTIFF_INTERNAL=ON \ | ||
-DBUILD_TESTING=OFF \ | ||
&& make -j$(nproc) \ | ||
&& make install DESTDIR="/build" \ | ||
&& cd .. \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters