From 51cf718535c20f0364caabf7ee71481de239836c Mon Sep 17 00:00:00 2001 From: Lukas Lalinsky Date: Mon, 10 Mar 2025 18:05:29 +0100 Subject: [PATCH 1/3] Upgrade versions --- Dockerfile | 4 ---- versions.sh | 9 ++++----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index ebc436d..68cd175 100644 --- a/Dockerfile +++ b/Dockerfile @@ -88,7 +88,3 @@ RUN ln -s /opt/yacron/bin/yacron /usr/local/bin RUN curl -L https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /usr/local/bin/yq && \ chmod +x /usr/local/bin/yq - -ARG DBMATE_VERSION -RUN curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/releases/download/v$DBMATE_VERSION/dbmate-linux-amd64 && \ - chmod +x /usr/local/bin/dbmate diff --git a/versions.sh b/versions.sh index 25b01e9..196e836 100644 --- a/versions.sh +++ b/versions.sh @@ -1,6 +1,5 @@ -PG_VERSION=17.0 -PATRONI_VERSION=4.0.2 -CITUS_VERSION=12.1.4 -WAL_G_VERSION=3.0.3 +PG_VERSION=17.2 +PATRONI_VERSION=4.0.5 +CITUS_VERSION=13.0.1 +WAL_G_VERSION=3.0.5 PG_ACOUSTID_VERSION=1.0.0 -DBMATE_VERSION=2.23.0 From 24e6326fd7b77e90a5dc74713571f0a821d7a1af Mon Sep 17 00:00:00 2001 From: Lukas Lalinsky Date: Mon, 10 Mar 2025 18:07:10 +0100 Subject: [PATCH 2/3] Install citus --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 68cd175..16e55c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,8 +62,8 @@ RUN apt-get update && \ ARG CITUS_VERSION -# RUN curl https://install.citusdata.com/community/deb.sh | bash && \ -# apt-get install -y postgresql-$PG_MAJOR-citus-$CITUS_VERSION +RUN curl https://install.citusdata.com/community/deb.sh | bash && \ + apt-get install -y postgresql-$PG_MAJOR-citus-$CITUS_VERSION COPY setup_db.sh /docker-entrypoint-initdb.d/setup_db.sh From 1b804561e116d4e8b3642081cafe5a78a37a0980 Mon Sep 17 00:00:00 2001 From: Lukas Lalinsky Date: Mon, 10 Mar 2025 18:09:58 +0100 Subject: [PATCH 3/3] Remove citus --- Dockerfile | 5 ----- versions.sh | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16e55c2..e8e5723 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,11 +60,6 @@ RUN apt-get update && \ pv \ gettext-base -ARG CITUS_VERSION - -RUN curl https://install.citusdata.com/community/deb.sh | bash && \ - apt-get install -y postgresql-$PG_MAJOR-citus-$CITUS_VERSION - COPY setup_db.sh /docker-entrypoint-initdb.d/setup_db.sh COPY psql pg_dump pg_dumpall wal-g /usr/local/bin/ diff --git a/versions.sh b/versions.sh index 196e836..7a4a54e 100644 --- a/versions.sh +++ b/versions.sh @@ -1,5 +1,4 @@ -PG_VERSION=17.2 +PG_VERSION=17.4 PATRONI_VERSION=4.0.5 -CITUS_VERSION=13.0.1 WAL_G_VERSION=3.0.5 PG_ACOUSTID_VERSION=1.0.0