Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgresql: [ "12", "13", "14", "15", "16", "17" ]
postgresql: [ "12", "13", "14", "15", "16", "17", "18" ]
runs-on: ubuntu-latest
steps:
-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgresql: [ "12", "13", "14", "15", "16", "17" ]
postgresql: [ "12", "13", "14", "15", "16", "17", "18" ]
runs-on: ubuntu-latest
steps:
-
Expand Down
22 changes: 22 additions & 0 deletions 18/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM quay.io/bfren/alpine-s6:alpine3.23-6.1.0

LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql"

ARG BF_IMAGE
ARG BF_PUBLISHING
ARG BF_VERSION

EXPOSE 5432

COPY ./overlay /
COPY ./17/overlay /

ENV \
# set to "1" to compress backup sql files
BF_PG_BACKUP_COMPRESS_FILES="0" \
# the duration for which backups will be kept
BF_PG_BACKUP_KEEP_FOR="28day"

RUN bf-install

VOLUME [ "/backup", "/data" ]
1 change: 1 addition & 0 deletions 18/overlay/tmp/POSTGRESQL_BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.1-r0
1 change: 1 addition & 0 deletions 18/overlay/tmp/POSTGRESQL_MINOR
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[Docker Repository](https://hub.docker.com/r/bfren/postgresql) - [bfren ecosystem](https://github.com/bfren/docker)

[PostgreSQL](https://www.postgresql.org/) comes pre-installed (12, 13, 14, 15 or 16) with automatic backups built-in.
[PostgreSQL](https://www.postgresql.org/) comes pre-installed (12, 13, 14, 15, 16, 17 and 18) with automatic backups built-in.

## Contents

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.0
4.2.0
2 changes: 1 addition & 1 deletion VERSION_MINOR
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1
4.2
2 changes: 1 addition & 1 deletion generate-dockerfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ docker pull bfren/alpine
BASE_VERSION="6.1.0"
echo "Base: ${BASE_VERSION}"

POSTGRESQL_VERSIONS="12 13 14 15 16 17"
POSTGRESQL_VERSIONS="12 13 14 15 16 17 18"
for V in ${POSTGRESQL_VERSIONS} ; do

echo "PostgreSQL ${V}"
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

IMAGE=`cat VERSION`
POSTGRESQL=${1:-17}
POSTGRESQL=${1:-18}

docker buildx build \
--load \
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

IMAGE=postgresql
VERSION=`cat VERSION`
POSTGRESQL=${1:-17}
POSTGRESQL=${1:-18}
TAG=${IMAGE}-test

docker buildx build \
Expand Down