@@ -42,7 +42,7 @@ ARG wal_g_release=2.0.1
4242# ###################
4343# Setup Postgres PPA
4444# ###################
45- FROM ubuntu:focal as ppa
45+ FROM ubuntu:noble as ppa
4646# Redeclare args for use in subsequent stages
4747ARG postgresql_major
4848RUN apt-get update && apt-get install -y --no-install-recommends \
@@ -55,7 +55,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5555# gpg --export --armor $NEW_POSTGRESQL_GPG_KEY > postgresql.gpg.key
5656COPY postgresql.gpg.key /tmp/postgresql.gpg.key
5757RUN apt-key add /tmp/postgresql.gpg.key && \
58- echo "deb https://apt-archive.postgresql.org/pub/repos/apt focal -pgdg-archive main" > /etc/apt/sources.list.d/pgdg.list
58+ echo "deb https://apt-archive.postgresql.org/pub/repos/apt noble -pgdg-archive main" > /etc/apt/sources.list.d/pgdg.list
5959
6060# ###################
6161# Download pre-built postgres
@@ -64,22 +64,22 @@ FROM ppa as pg
6464ARG postgresql_release
6565# Download .deb packages
6666RUN apt-get update && apt-get install -y --no-install-recommends --download-only \
67- postgresql-${postgresql_major}=${postgresql_release}-1.pgdg20 .04+1 \
67+ postgresql-${postgresql_major}=${postgresql_release}-1.pgdg24 .04+1 \
6868 && rm -rf /var/lib/apt/lists/*
6969RUN mv /var/cache/apt/archives/*.deb /tmp/
7070
7171FROM ppa as pg-dev
7272ARG postgresql_release
7373# Download .deb packages
7474RUN apt-get update && apt-get install -y --no-install-recommends --download-only \
75- postgresql-server-dev-${postgresql_major}=${postgresql_release}-1.pgdg20 .04+1 \
75+ postgresql-server-dev-${postgresql_major}=${postgresql_release}-1.pgdg24 .04+1 \
7676 && rm -rf /var/lib/apt/lists/*
7777RUN mv /var/cache/apt/archives/*.deb /tmp/
7878
7979# ###################
8080# Install postgres
8181# ###################
82- FROM ubuntu:focal as base
82+ FROM ubuntu:noble as base
8383# Redeclare args for use in subsequent stages
8484ARG TARGETARCH
8585ARG postgresql_major
@@ -188,7 +188,7 @@ FROM ppa as postgis
188188ARG postgis_release
189189# Download pre-built packages
190190RUN apt-get update && apt-get install -y --no-install-recommends --download-only \
191- postgresql-${postgresql_major}-postgis-3=${postgis_release}+dfsg-1.pgdg20 .04+1 \
191+ postgresql-${postgresql_major}-postgis-3=${postgis_release}+dfsg-1.pgdg24 .04+1 \
192192 && rm -rf /var/lib/apt/lists/*
193193RUN mv /var/cache/apt/archives/*.deb /tmp/
194194
@@ -220,7 +220,7 @@ FROM ppa as pgrouting
220220ARG pgrouting_release
221221# Download pre-built packages
222222RUN apt-get update && apt-get install -y --no-install-recommends --download-only \
223- postgresql-${postgresql_major}-pgrouting=${pgrouting_release}-1.pgdg20 .04+1 \
223+ postgresql-${postgresql_major}-pgrouting=${pgrouting_release}-1.pgdg24 .04+1 \
224224 && rm -rf /var/lib/apt/lists/*
225225RUN mv /var/cache/apt/archives/*.deb /tmp/
226226
@@ -695,7 +695,7 @@ FROM base as pgroonga
695695# Latest available is 3.0.3
696696ARG pgroonga_release
697697# Download pre-built packages
698- ADD "https://packages.groonga.org/ubuntu/groonga-apt-source-latest-focal .deb" /tmp/source.deb
698+ ADD "https://packages.groonga.org/ubuntu/groonga-apt-source-latest-noble .deb" /tmp/source.deb
699699RUN apt-get update && apt-get install -y --no-install-recommends \
700700 ca-certificates \
701701 /tmp/source.deb \
@@ -857,13 +857,13 @@ RUN /tmp/download_supautils.sh && rm /tmp/download_supautils.sh
857857# ###################
858858FROM base as walg
859859ARG wal_g_release
860- # ADD "https://github.com/wal-g/wal-g/releases/download/v${wal_g_release}/wal-g-pg-ubuntu-20 .04-${TARGETARCH}.tar.gz" /tmp/wal-g.tar.gz
860+ # ADD "https://github.com/wal-g/wal-g/releases/download/v${wal_g_release}/wal-g-pg-ubuntu-24 .04-${TARGETARCH}.tar.gz" /tmp/wal-g.tar.gz
861861RUN arch=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "$TARGETARCH" ) && \
862862 apt-get update && apt-get install -y --no-install-recommends curl && \
863- curl -kL "https://github.com/wal-g/wal-g/releases/download/v${wal_g_release}/wal-g-pg-ubuntu-20 .04-${arch}.tar.gz" -o /tmp/wal-g.tar.gz && \
863+ curl -kL "https://github.com/wal-g/wal-g/releases/download/v${wal_g_release}/wal-g-pg-ubuntu-24 .04-${arch}.tar.gz" -o /tmp/wal-g.tar.gz && \
864864 tar -xvf /tmp/wal-g.tar.gz -C /tmp && \
865865 rm -rf /tmp/wal-g.tar.gz && \
866- mv /tmp/wal-g-pg-ubuntu*20 .04-$arch /tmp/wal-g
866+ mv /tmp/wal-g-pg-ubuntu*24 .04-$arch /tmp/wal-g
867867
868868# ###################
869869# Collect extension packages
@@ -903,7 +903,7 @@ COPY --from=supautils /tmp/*.deb /tmp/
903903# ###################
904904# Download gosu for easy step-down from root
905905# ###################
906- FROM ubuntu:focal as gosu
906+ FROM ubuntu:noble as gosu
907907ARG TARGETARCH
908908# Install dependencies
909909RUN apt-get update && apt-get install -y --no-install-recommends \
0 commit comments