This is an automated email from the ASF dual-hosted git repository.

jrgemignani pushed a commit to branch PG19
in repository https://gitbox.apache.org/repos/asf/age.git


The following commit(s) were added to refs/heads/PG19 by this push:
     new bd08e15a Fix Docker Hub build: use postgres:19beta1 base image (#2462)
bd08e15a is described below

commit bd08e15aa941bc23ca4bbf6880cc746e5125abdf
Author: John Gemignani <[email protected]>
AuthorDate: Mon Jul 6 10:41:14 2026 -0700

    Fix Docker Hub build: use postgres:19beta1 base image (#2462)
    
    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 <[email protected]>
    
    modified:   docker/Dockerfile
    modified:   docker/Dockerfile.dev
---
 docker/Dockerfile     | 7 +++++--
 docker/Dockerfile.dev | 4 +++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 08fdb882..c405aa2d 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -17,7 +17,9 @@
 #
 
 # Build stage: Install necessary development tools for compilation and 
installation
-FROM postgres:19 AS build
+# PG19 is still in beta: Docker Hub has no `postgres:19` tag yet, only 
`19beta1`.
+# Bump both stages to `postgres:19` once the PG19 GA image is published.
+FROM postgres:19beta1 AS build
 
 RUN apt-get update \
     && apt-get install -y --no-install-recommends --no-install-suggests \
@@ -34,7 +36,8 @@ RUN make && make install
 
 
 # Final stage: Create a final image by copying the files created in the build 
stage
-FROM postgres:19
+# PG19 beta: use `19beta1` until the `postgres:19` GA tag exists (see build 
stage).
+FROM postgres:19beta1
 
 RUN apt-get update \
     && apt-get install -y --no-install-recommends --no-install-suggests \
diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.dev
index 88981f2e..8ccbc40e 100644
--- a/docker/Dockerfile.dev
+++ b/docker/Dockerfile.dev
@@ -17,7 +17,9 @@
 #
 
 
-FROM postgres:19
+# PG19 is still in beta: Docker Hub has no `postgres:19` tag yet, only 
`19beta1`.
+# Bump to `postgres:19` once the PG19 GA image is published.
+FROM postgres:19beta1
 
 RUN apt-get update
 RUN apt-get install --assume-yes --no-install-recommends --no-install-suggests 
\

Reply via email to