diff --git a/docker/postgres-kanister-tools/Dockerfile b/docker/postgres-kanister-tools/Dockerfile index c47ffb83035..0341479160e 100644 --- a/docker/postgres-kanister-tools/Dockerfile +++ b/docker/postgres-kanister-tools/Dockerfile @@ -4,15 +4,15 @@ ARG TOOLS_IMAGE FROM ${TOOLS_IMAGE} AS TOOLS_IMAGE # Actual image base -FROM postgres:16.1-bullseye +FROM postgres:16-bullseye ENV DEBIAN_FRONTEND noninteractive USER root RUN apt-get update && apt-get -y install curl python3 groff less jq python3-pip && \ - pip3 install --break-system-packages --upgrade pip && \ - pip3 install --break-system-packages --upgrade awscli && \ + pip3 install --upgrade pip && \ + pip3 install --upgrade awscli && \ apt-get clean # Install restic to take backups diff --git a/examples/postgres-RDS/Dockerfile b/examples/postgres-RDS/Dockerfile index 6f82bdac910..f7922fab8d7 100644 --- a/examples/postgres-RDS/Dockerfile +++ b/examples/postgres-RDS/Dockerfile @@ -5,8 +5,8 @@ ENV DEBIAN_FRONTEND noninteractive USER root RUN apt-get update && apt-get -y install curl python3-pip && \ - pip3 install --break-system-packages --upgrade pip && \ - pip3 install --break-system-packages --upgrade awscli && \ + pip3 install --upgrade pip && \ + pip3 install --upgrade awscli && \ apt-get clean RUN curl https://raw.githubusercontent.com/kanisterio/kanister/master/scripts/get.sh | bash