Skip to content

Pin gdal base image to digest - #105

Merged
iandees merged 1 commit into
masterfrom
pin-gdal-base-image-digest
Aug 18, 2026
Merged

Pin gdal base image to digest#105
iandees merged 1 commit into
masterfrom
pin-gdal-base-image-digest

Conversation

@iandees

@iandees iandees commented Aug 18, 2026

Copy link
Copy Markdown
Member

Summary

  • Dockerfile FROMs ghcr.io/osgeo/gdal:alpine-normal-3.11.0, a mutable tag. Upstream rebuilt it with an Alpine/Python 3.12 toolchain that broke pyexpat's musl ABI (XML_SetAllocTrackerActivationThreshold: symbol not found), which crashed pip3 install during RUN pip3 install --break-system-packages . and broke CI on every PR regardless of diff.
  • Pins FROM to the current known-good multi-arch digest (sha256:edf2793e...) of alpine-normal-3.11.0, so the build no longer moves out from under CI when the tag is rebuilt upstream.
  • Verified docker build --no-cache --platform linux/amd64 . completes successfully with the pinned digest (matches the CI runner architecture).

Fixes #104

Test plan

  • docker build --no-cache --platform linux/amd64 -t machine . succeeds locally with the pinned digest
  • CI "Python Tests" workflow passes on this PR

@iandees
iandees merged commit cde250e into master Aug 18, 2026
1 check passed
@iandees
iandees deleted the pin-gdal-base-image-digest branch August 18, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker build fails on master

1 participant