Skip to content

fix(docker): fetch dump in a build stage - #1403

Merged
cblanc merged 1 commit into
mainfrom
pg-image-fix
Sep 14, 2026
Merged

cblanc merged 1 commit into
mainfrom
pg-image-fix

Conversation

@cblanc

@cblanc cblanc commented Sep 14, 2026 •

Copy link
Copy Markdown
Member
  • The postcodes.io.db Docker Hub autobuild has failed since Debian bullseye LTS ended (31 Aug 2026): apt-get update on the postgis/postgis:17-3.5 base now aborts on the expired bullseye-security Release file, before the dump is even downloaded. That is why release-20.0.0 exists for the app image but the db image never built.

The db image build ran apt-get update on postgis/postgis:17-3.5, a Debian bullseye base whose bullseye-security Release file expired when LTS ended on 2026-08-31 - every Docker Hub autobuild since fails before downloading the dump (20.0.0 never built). Fetch and filter the dump in a buildpack-deps:curl stage instead, so the build needs no apt at all; the final image no longer carries curl or the raw dump layer.

Claude-Session: https://claude.ai/code/session_0195FWjQNKqsSSeZuRyu8Lzi
@cblanc
cblanc merged commit 8adaf9f into main Sep 14, 2026
2 checks passed
@cblanc
cblanc deleted the pg-image-fix branch September 14, 2026 09:53
@idealbot

Copy link
Copy Markdown
Member

🎉 This issue has been resolved in version 20.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants