Skip to content

Commit 8e4819b

Browse files
authored
v1.2.0 (#11)
Mrajor updates * Using Alpine 3.15 version of base image * Install using new namespaced postgresqlXX packages
1 parent adc6061 commit 8e4819b

File tree

6 files changed

+8
-12
lines changed

6 files changed

+8
-12
lines changed

12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bfren/alpine-s6:alpine3.12-2.3.1
1+
FROM bfren/alpine-s6:alpine3.15-3.0.2
22

33
ENV \
44
# set to "1" to compress backup sql files

13/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bfren/alpine-s6:alpine3.14-2.3.1
1+
FROM bfren/alpine-s6:alpine3.15-3.0.2
22

33
ENV \
44
# set to "1" to compress backup sql files

14/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM bfren/alpine-s6:alpineedge-2.3.1
1+
FROM bfren/alpine-s6:alpine3.15-3.0.2
22

33
ENV \
44
# set to "1" to compress backup sql files

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.2
1+
1.2.0

VERSION_MINOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1
1+
1.2

overlay/tmp/install

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,9 @@ bf-debug "PostgreSQL version ${VERSION}."
2727

2828
bf-echo "Installing PostgreSQL v${VERSION}..."
2929

30-
if [ "$(echo ${VERSION} | cut -c 1-2)" == "14" ] ; then
31-
apk add --no-cache \
32-
postgresql14=${VERSION}
33-
else
34-
apk add --no-cache \
35-
postgresql=${VERSION}
36-
fi
30+
MAJOR_VERSION="$(echo ${VERSION} | cut -c 1-2)"
31+
apk add --no-cache \
32+
postgresql${MAJOR_VERSION}=${VERSION}
3733

3834
bf-done
3935

0 commit comments

Comments
 (0)