Skip to content

Commit

Permalink
build: Initial PostgreSQL 15 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Christie committed Nov 20, 2024
1 parent 86fca56 commit 16e849f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions sql-backup/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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" ]
10 changes: 5 additions & 5 deletions sql-recovery/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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" ]

0 comments on commit 16e849f

Please sign in to comment.