From 1d2cdb47446965a8117a49f66a098dfeacf541d0 Mon Sep 17 00:00:00 2001 From: Dominic Watson Date: Sun, 27 Feb 2022 15:58:30 +0100 Subject: [PATCH] Upgrades to pg_repack 1.4.7 (supports pg14) --- Dockerfile | 2 +- README.md | 1 + scripts/install_pg_repack.sh | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e467964..51d805e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM postgres:13 +FROM postgres:14 RUN apt-get update --fix-missing && \ apt-get install -y postgresql-server-dev-$PG_MAJOR wget openssh-server diff --git a/README.md b/README.md index e7245d1..2051752 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ This images follows the pg_repack releases + compatibility with PostgreSQL. | 11 | 1.4.4 | | 12 | 1.4.5 | | 13 | 1.4.6 | +| 14 | 1.4.7 | ## Dockerhub diff --git a/scripts/install_pg_repack.sh b/scripts/install_pg_repack.sh index e96c240..a075ea2 100644 --- a/scripts/install_pg_repack.sh +++ b/scripts/install_pg_repack.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -apt-get install -y make unzip gcc libssl-dev zlib1g-dev libreadline-dev -wget -q -O pg_repack.zip "https://api.pgxn.org/dist/pg_repack/1.4.6/pg_repack-1.4.6.zip" +apt-get install -y make unzip gcc libssl-dev zlib1g-dev liblz4-dev libreadline-dev +wget -q -O pg_repack.zip "https://api.pgxn.org/dist/pg_repack/1.4.7/pg_repack-1.4.7.zip" unzip pg_repack.zip && rm pg_repack.zip cd pg_repack-* make && make install