Skip to content

Commit

Permalink
Dockerfile: fixate GDAL version
Browse files Browse the repository at this point in the history
Building from gdal-latest will make
the explorer 2.12.3 image unbuildable
when gdal-latest suddenly contains
breaking changes.

Fixate the image version to keep old
releases of explorer buildable even
in the future.
  • Loading branch information
pjonsson authored and Ariana-B committed Jul 26, 2024
1 parent 1d1a4b5 commit d1e3ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/osgeo/gdal:ubuntu-small-latest as builder
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.9.1 AS builder

ENV DEBIAN_FRONTEND=noninteractive \
LC_ALL=C.UTF-8 \
Expand All @@ -20,7 +20,7 @@ WORKDIR /build

RUN python3 -m pip --disable-pip-version-check -q wheel --no-binary psycopg2 psycopg2

FROM ghcr.io/osgeo/gdal:ubuntu-small-latest
FROM ghcr.io/osgeo/gdal:ubuntu-small-3.9.1

ENV DEBIAN_FRONTEND=noninteractive \
LC_ALL=C.UTF-8 \
Expand Down

0 comments on commit d1e3ffa

Please sign in to comment.