Skip to content

Commit 6689303

Browse files
authored
v3.3.0 (#121)
Major updates * Adding PostgreSQL 17.2 * Making PostgreSQL 17 the default * Using Alpine 3.20 for PostgreSQL 14 Minor updates * Using latest base images * Updating to PostgreSQL 14.15, 15.10 and 16.6
1 parent c112271 commit 6689303

22 files changed

+45
-20
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+
postgresql: [ "12", "13", "14", "15", "16", "17" ]
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" ]
13+
postgresql: [ "12", "13", "14", "15", "16", "17" ]
1414
runs-on: ubuntu-latest
1515
steps:
1616
-

12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/bfren/alpine-s6:alpine3.18-5.4.15
1+
FROM ghcr.io/bfren/alpine-s6:alpine3.18-5.5.0
22

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

13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/bfren/alpine-s6:alpine3.19-5.4.15
1+
FROM ghcr.io/bfren/alpine-s6:alpine3.19-5.5.0
22

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

14/ALPINE_EDITION

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

14/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/bfren/alpine-s6:alpine3.20-5.4.15
1+
FROM ghcr.io/bfren/alpine-s6:alpine3.20-5.5.0
22

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

14/overlay/tmp/POSTGRESQL_BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.14-r0
1+
14.15-r0

14/overlay/tmp/POSTGRESQL_MINOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.14
1+
14.15

15/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/bfren/alpine-s6:alpine3.20-5.4.15
1+
FROM ghcr.io/bfren/alpine-s6:alpine3.21-5.5.0
22

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

15/overlay/tmp/POSTGRESQL_BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15.9-r0
1+
15.10-r0

15/overlay/tmp/POSTGRESQL_MINOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15.9
1+
15.10

16/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/bfren/alpine-s6:alpine3.20-5.4.15
1+
FROM ghcr.io/bfren/alpine-s6:alpine3.21-5.5.0
22

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

16/overlay/tmp/POSTGRESQL_BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.5-r0
1+
16.6-r0

16/overlay/tmp/POSTGRESQL_MINOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.5
1+
16.6

17/Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM ghcr.io/bfren/alpine-s6:alpine3.21-5.5.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" ]

17/overlay/tmp/POSTGRESQL_BUILD

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

17/overlay/tmp/POSTGRESQL_MINOR

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

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.18
1+
3.3.0

VERSION_MINOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2
1+
3.3

generate-dockerfiles.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ set -euo pipefail
44

55
docker pull bfren/alpine
66

7-
BASE_VERSION="5.4.15"
7+
BASE_VERSION="5.5.0"
88
echo "Base: ${BASE_VERSION}"
99

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

1313
echo "PostgreSQL ${V}"
1414
ALPINE_EDITION_FILE="${V}/ALPINE_EDITION"
1515
if [ -f "${ALPINE_EDITION_FILE}" ] ; then
1616
ALPINE_EDITION=`cat ${ALPINE_EDITION_FILE}`
1717
else
18-
ALPINE_EDITION="3.20"
18+
ALPINE_EDITION="3.21"
1919
fi
2020

2121
DOCKERFILE=$(docker run \

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:-16}
4+
POSTGRESQL=${1:-17}
55

66
docker buildx build \
77
--load \

test.sh

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

33
IMAGE=postgresql
44
VERSION=`cat VERSION`
5-
POSTGRESQL=${1:-16}
5+
POSTGRESQL=${1:-17}
66
TAG=${IMAGE}-test
77

88
docker buildx build \

0 commit comments

Comments
 (0)