Skip to content

Fix Docker image build failures#93

Closed
iandees wants to merge 1 commit into
masterfrom
fix-docker-build
Closed

Fix Docker image build failures#93
iandees wants to merge 1 commit into
masterfrom
fix-docker-build

Conversation

@iandees

@iandees iandees commented Mar 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Removed gdal == 3.7.1 from pip install_requires — GDAL is provided by the base Docker image and can't be built from PyPI on Alpine (missing osgeo source directory)
  • Loosened Shapely == 2.0.1 to >= 2.0.1 — the pinned version has no pre-built wheel for Alpine/musl and fails to build due to missing pkg_resources
  • Updated mapbox-vector-tile from 2.0.1 to 2.1.0 — the old version required protobuf<5.0, conflicting with protobuf==5.29.6

Fixes #90

Test plan

  • docker build --no-cache -t batch-machine . completes successfully

🤖 Generated with Claude Code

@iandees

iandees commented Mar 10, 2026

Copy link
Copy Markdown
Member Author

Closing in favor of #91 which takes a more conservative approach (reverting the protobuf bump instead of upgrading mapbox-vector-tile).

@iandees iandees closed this Mar 10, 2026
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.

Can't build Docker image

1 participant