aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Even Rouault <even.rouault@spatialys.com>2020-03-13 16:09:56 +0100
committerGravatar GitHub <noreply@github.com>2020-03-13 08:09:56 -0700
commit1e63d75b2838688c20553768d957b5952bc15a9d (patch)
tree9e747a1799fea021e5a2b4f1792047f6bc2cbf7e
parenteda341223cf70a15ce159df8eda0a5b791c41eb9 (diff)
[GDAL] Update download URL for netCDF dependency (#3501)
-rw-r--r--projects/gdal/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/gdal/Dockerfile b/projects/gdal/Dockerfile
index 649fe3f4..17b57f91 100644
--- a/projects/gdal/Dockerfile
+++ b/projects/gdal/Dockerfile
@@ -28,10 +28,11 @@ RUN git clone --depth 1 https://github.com/curl/curl.git gdal/curl
COPY NC4_put_propattr_leak_fix.patch libnetcdf_fix_undefined_left_shift_in_ncx_get_size_t.patch $SRC/
-RUN curl https://www.gfd-dennou.org/arch/netcdf/unidata-mirror/netcdf-4.4.1.1.tar.gz > gdal/netcdf-4.4.1.1.tar.gz && \
+RUN curl https://src.fedoraproject.org/lookaside/pkgs/netcdf/netcdf-4.4.1.1.tar.gz/9210fd5355bee868684d9b8f83064aa6/netcdf-4.4.1.1.tar.gz > gdal/netcdf-4.4.1.1.tar.gz && \
cd gdal && \
tar xzf netcdf-4.4.1.1.tar.gz && \
rm -f netcdf-4.4.1.1.tar.gz && \
+ mv netcdf-c-4.4.1.1 netcdf-4.4.1.1 && \
cd netcdf-4.4.1.1 && \
patch -p0 < $SRC/NC4_put_propattr_leak_fix.patch && \
patch -p0 < $SRC/libnetcdf_fix_undefined_left_shift_in_ncx_get_size_t.patch && \