Skip to content

Commit

Permalink
Bump PostgreSQL to version 16
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed May 2, 2024
1 parent d40f08d commit bec0935
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"
services:
postgres:
container_name: blackbox-postgres
image: postgres:15
image: postgres:16
environment:
POSTGRES_USER: blackbox
POSTGRES_PASSWORD: blackbox
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ EOF
# Install redis-tools, used for redis backups.
RUN apt install -y redis-tools

# Install the Postgres 15 client, needed for pg_dumpall
# Install the Postgres 16 client, needed for pg_dumpall
# And MariaDB client for mysqldump
RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN apt-get update -y && \
apt-get install -y postgresql-client-15 mariadb-client
apt-get install -y postgresql-client-16 mariadb-client

# Create and set the working directory, so we don't make a mess in the Docker filesystem.
WORKDIR /blackbox
Expand Down

0 comments on commit bec0935

Please sign in to comment.