@@ -42,7 +42,7 @@ ARG wal_g_release=2.0.1
42
42
# ###################
43
43
# Setup Postgres PPA
44
44
# ###################
45
- FROM ubuntu:focal as ppa
45
+ FROM ubuntu:noble as ppa
46
46
# Redeclare args for use in subsequent stages
47
47
ARG postgresql_major
48
48
RUN 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 \
55
55
# gpg --export --armor $NEW_POSTGRESQL_GPG_KEY > postgresql.gpg.key
56
56
COPY postgresql.gpg.key /tmp/postgresql.gpg.key
57
57
RUN 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
59
59
60
60
# ###################
61
61
# Download pre-built postgres
@@ -64,22 +64,22 @@ FROM ppa as pg
64
64
ARG postgresql_release
65
65
# Download .deb packages
66
66
RUN 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 \
68
68
&& rm -rf /var/lib/apt/lists/*
69
69
RUN mv /var/cache/apt/archives/*.deb /tmp/
70
70
71
71
FROM ppa as pg-dev
72
72
ARG postgresql_release
73
73
# Download .deb packages
74
74
RUN 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 \
76
76
&& rm -rf /var/lib/apt/lists/*
77
77
RUN mv /var/cache/apt/archives/*.deb /tmp/
78
78
79
79
# ###################
80
80
# Install postgres
81
81
# ###################
82
- FROM ubuntu:focal as base
82
+ FROM ubuntu:noble as base
83
83
# Redeclare args for use in subsequent stages
84
84
ARG TARGETARCH
85
85
ARG postgresql_major
@@ -188,7 +188,7 @@ FROM ppa as postgis
188
188
ARG postgis_release
189
189
# Download pre-built packages
190
190
RUN 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 \
192
192
&& rm -rf /var/lib/apt/lists/*
193
193
RUN mv /var/cache/apt/archives/*.deb /tmp/
194
194
@@ -220,7 +220,7 @@ FROM ppa as pgrouting
220
220
ARG pgrouting_release
221
221
# Download pre-built packages
222
222
RUN 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 \
224
224
&& rm -rf /var/lib/apt/lists/*
225
225
RUN mv /var/cache/apt/archives/*.deb /tmp/
226
226
@@ -695,7 +695,7 @@ FROM base as pgroonga
695
695
# Latest available is 3.0.3
696
696
ARG pgroonga_release
697
697
# 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
699
699
RUN apt-get update && apt-get install -y --no-install-recommends \
700
700
ca-certificates \
701
701
/tmp/source.deb \
@@ -857,13 +857,13 @@ RUN /tmp/download_supautils.sh && rm /tmp/download_supautils.sh
857
857
# ###################
858
858
FROM base as walg
859
859
ARG 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
861
861
RUN arch=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "$TARGETARCH" ) && \
862
862
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 && \
864
864
tar -xvf /tmp/wal-g.tar.gz -C /tmp && \
865
865
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
867
867
868
868
# ###################
869
869
# Collect extension packages
@@ -903,7 +903,7 @@ COPY --from=supautils /tmp/*.deb /tmp/
903
903
# ###################
904
904
# Download gosu for easy step-down from root
905
905
# ###################
906
- FROM ubuntu:focal as gosu
906
+ FROM ubuntu:noble as gosu
907
907
ARG TARGETARCH
908
908
# Install dependencies
909
909
RUN apt-get update && apt-get install -y --no-install-recommends \
0 commit comments