Skip to content

Commit 2244a84

Browse files
authored
v4.2.0 (#134)
Major updates * Adding support for PostgreSQL 18 Documentation updates * Adding PostgreSQL 17 and 18 to README
1 parent 5a46173 commit 2244a84

File tree

11 files changed

+32
-8
lines changed

11 files changed

+32
-8
lines changed

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
postgresql: [ "12", "13", "14", "15", "16", "17" ]
17+
postgresql: [ "12", "13", "14", "15", "16", "17", "18" ]
1818
runs-on: ubuntu-latest
1919
steps:
2020
-

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
postgresql: [ "12", "13", "14", "15", "16", "17" ]
13+
postgresql: [ "12", "13", "14", "15", "16", "17", "18" ]
1414
runs-on: ubuntu-latest
1515
steps:
1616
-

18/Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM quay.io/bfren/alpine-s6:alpine3.23-6.1.0
2+
3+
LABEL org.opencontainers.image.source="https://github.com/bfren/docker-postgresql"
4+
5+
ARG BF_IMAGE
6+
ARG BF_PUBLISHING
7+
ARG BF_VERSION
8+
9+
EXPOSE 5432
10+
11+
COPY ./overlay /
12+
COPY ./17/overlay /
13+
14+
ENV \
15+
# set to "1" to compress backup sql files
16+
BF_PG_BACKUP_COMPRESS_FILES="0" \
17+
# the duration for which backups will be kept
18+
BF_PG_BACKUP_KEEP_FOR="28day"
19+
20+
RUN bf-install
21+
22+
VOLUME [ "/backup", "/data" ]

18/overlay/tmp/POSTGRESQL_BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.1-r0

18/overlay/tmp/POSTGRESQL_MINOR

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

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

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

99
## Contents
1010

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1.0
1+
4.2.0

VERSION_MINOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.1
1+
4.2

generate-dockerfiles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ docker pull bfren/alpine
77
BASE_VERSION="6.1.0"
88
echo "Base: ${BASE_VERSION}"
99

10-
POSTGRESQL_VERSIONS="12 13 14 15 16 17"
10+
POSTGRESQL_VERSIONS="12 13 14 15 16 17 18"
1111
for V in ${POSTGRESQL_VERSIONS} ; do
1212

1313
echo "PostgreSQL ${V}"

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
IMAGE=`cat VERSION`
4-
POSTGRESQL=${1:-17}
4+
POSTGRESQL=${1:-18}
55

66
docker buildx build \
77
--load \

0 commit comments

Comments
 (0)