From 8c28bec558a14c4db9460560b43bab8a40095680 Mon Sep 17 00:00:00 2001 From: Rophy Tsai Date: Sat, 13 Jul 2024 11:51:35 +0800 Subject: [PATCH] chore: upgrade patroni-citus-k8s base image to bookworm --- patroni-citus-k8s/Dockerfile | 6 +++--- patroni-citus-k8s/version.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/patroni-citus-k8s/Dockerfile b/patroni-citus-k8s/Dockerfile index 1c2c4a4..71ea376 100644 --- a/patroni-citus-k8s/Dockerfile +++ b/patroni-citus-k8s/Dockerfile @@ -1,6 +1,6 @@ # https://github.com/patroni/patroni/blob/master/kubernetes/Dockerfile.citus -FROM postgres:16.3-bullseye +FROM postgres:16.3-bookworm LABEL maintainer="Alexander Kukushkin " RUN export DEBIAN_FRONTEND=noninteractive \ @@ -28,8 +28,8 @@ RUN export DEBIAN_FRONTEND=noninteractive \ && apt-get update -y \ && apt-get -y install postgresql-16-citus-12.1; \ fi \ - && pip3 install setuptools \ - && pip3 install 'git+https://github.com/patroni/patroni.git#egg=patroni[kubernetes]' \ + && pip3 install --break-system-packages setuptools \ + && pip3 install --break-system-packages 'git+https://github.com/patroni/patroni.git#egg=patroni[kubernetes]' \ && PGHOME=/home/postgres \ && mkdir -p $PGHOME \ && chown postgres $PGHOME \ diff --git a/patroni-citus-k8s/version.txt b/patroni-citus-k8s/version.txt index af83e32..fbb3f93 100644 --- a/patroni-citus-k8s/version.txt +++ b/patroni-citus-k8s/version.txt @@ -1 +1 @@ -20240713-r1 +20240713-r2 \ No newline at end of file