Skip to content

Commit 632884c

Browse files
committed
fix: install latest version of gdal
1 parent 61daf07 commit 632884c

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

.bin/gdal.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Install the latest version of GDAL, as the Debian repo version has security vulns
2+
3+
echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list
4+
apt-get update
5+
apt-get install --yes --quiet --no-install-recommends gdal-bin

.bin/prepare.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ apt-get install --yes --quiet --no-install-recommends \
1515
libwebp-dev \
1616
binutils \
1717
libproj-dev \
18-
gdal-bin \
1918
g++ \
2019
libgraphicsmagick++1-dev \
2120
libboost-python-dev \

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ RUN apt-get install -y chromium
3030
COPY .bin/prepare.sh /app/.bin/prepare.sh
3131
RUN bash /app/.bin/prepare.sh
3232

33+
COPY .bin/gdal.sh /app/.bin/gdal.sh
34+
RUN bash /app/.bin/gdal.sh
35+
3336
# Copy the source code of the project into the container.
3437
RUN mkdir -p /home/app && chown app:app /home/app
3538

0 commit comments

Comments
 (0)