From f1add744529ea0ad05a0ab63c08a77a81758d6f0 Mon Sep 17 00:00:00 2001 From: Casey Ryan Date: Mon, 5 Dec 2022 19:40:20 -0500 Subject: [PATCH] Fixed Cert issue #68, and made build noninteractive --- docker/Dockerfile | 1 + download-srtm-data.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4c329d8..5c36a02 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,6 +1,7 @@ FROM osgeo/gdal:ubuntu-small-latest-amd64 RUN apt-get update +ARG DEBIAN_FRONTEND=noninteractive RUN apt-get install -y libspatialindex-dev unar bc python3-pip wget ADD ./requirements.txt . diff --git a/download-srtm-data.sh b/download-srtm-data.sh index acb2a2a..f4cc11c 100755 --- a/download-srtm-data.sh +++ b/download-srtm-data.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash set -eu -wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_NE_250m_TIF.rar && \ -wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_SE_250m_TIF.rar && \ -wget https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_W_250m_TIF.rar && \ +wget --no-check-certificate https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_NE_250m_TIF.rar && \ +wget --no-check-certificate https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_SE_250m_TIF.rar && \ +wget --no-check-certificate https://srtm.csi.cgiar.org/wp-content/uploads/files/250m/SRTM_W_250m_TIF.rar && \ unar -f SRTM_NE_250m_TIF.rar && \ unar -f SRTM_SE_250m_TIF.rar && \ unar -f SRTM_W_250m_TIF.rar