From 16e849f570a37af0931fdef38d4a37e38cd54198 Mon Sep 17 00:00:00 2001 From: Alan Christie Date: Wed, 20 Nov 2024 11:28:04 +0000 Subject: [PATCH] build: Initial PostgreSQL 15 release --- sql-backup/Dockerfile | 10 +++++----- sql-recovery/Dockerfile | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sql-backup/Dockerfile b/sql-backup/Dockerfile index 2e66bf9..80ec9df 100644 --- a/sql-backup/Dockerfile +++ b/sql-backup/Dockerfile @@ -1,7 +1,7 @@ -FROM python:3.10.9-slim-buster +FROM python:3.11.10-slim-bullseye -ENV APP_ROOT /code -ENV HOME /root +ENV APP_ROOT=/code +ENV HOME=/root WORKDIR ${APP_ROOT} # Install core packages @@ -20,7 +20,7 @@ RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ apt-get update && \ apt-get -y install \ - postgresql-client-13 + postgresql-client-15 # Set the image timezone... ENV TZ=UTC @@ -40,6 +40,6 @@ RUN chmod 755 ${APP_ROOT}/*.py && \ # Force the binary layer of the stdout and stderr streams # to be unbuffered -ENV PYTHONUNBUFFERED 1 +ENV PYTHONUNBUFFERED=1 CMD [ "./docker-entrypoint.sh" ] diff --git a/sql-recovery/Dockerfile b/sql-recovery/Dockerfile index 811601e..a5df070 100644 --- a/sql-recovery/Dockerfile +++ b/sql-recovery/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.10.9-slim-buster +FROM python:3.11.10-slim-bullseye # Create the 'exepcted' Recovery directory. # The recovery container may somethign mounted here, it may not. WORKDIR /recovery -ENV APP_ROOT /code -ENV HOME /root +ENV APP_ROOT=/code +ENV HOME=/root WORKDIR ${APP_ROOT} # Install core packages @@ -25,7 +25,7 @@ RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \ apt-get update && \ apt-get -y install \ - postgresql-client-13 + postgresql-client-15 # Set the image timezone... ENV TZ=UTC @@ -47,6 +47,6 @@ RUN chmod 755 ${APP_ROOT}/*.py && \ # Force the binary layer of the stdout and stderr streams # to be unbuffered -ENV PYTHONUNBUFFERED 1 +ENV PYTHONUNBUFFERED=1 CMD [ "./docker-entrypoint.sh" ]