Fix Docker Hub build: use postgres:19beta1 base image#2462
Merged
Conversation
PostgreSQL 19 is still in beta, so the official Docker Hub postgres image
has no `19` tag yet -- only `19beta1`. The Docker Hub autobuild failed with:
postgres:19: not found
failed to resolve source metadata for docker.io/library/postgres:19
Point both docker/Dockerfile (build and final stages) and
docker/Dockerfile.dev at postgres:19beta1 until the PG19 GA image is
published.
Co-authored-by: Copilot <copilot@github.com>
modified: docker/Dockerfile
modified: docker/Dockerfile.dev
There was a problem hiding this comment.
Pull request overview
This PR updates the Docker base images to use the official PostgreSQL 19 beta tag available on Docker Hub, fixing Docker Hub autobuild failures caused by the non-existent postgres:19 tag during the PG19 beta period.
Changes:
- Switch
docker/Dockerfilebuild and final stages frompostgres:19topostgres:19beta1. - Switch
docker/Dockerfile.devfrompostgres:19topostgres:19beta1. - Add inline comments documenting why the beta tag is used and when to revert to
postgres:19.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docker/Dockerfile | Updates both build and final stages to postgres:19beta1 and documents the temporary beta-tag rationale. |
| docker/Dockerfile.dev | Updates the dev image base to postgres:19beta1 and documents the temporary beta-tag rationale. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PostgreSQL 19 is still in beta, so the official Docker Hub postgres image has no
19tag yet -- only19beta1. The Docker Hub autobuild failed with:Point both docker/Dockerfile (build and final stages) and docker/Dockerfile.dev at postgres:19beta1 until the PG19 GA image is published.
Co-authored-by: Copilot copilot@github.com
modified: docker/Dockerfile
modified: docker/Dockerfile.dev