Skip to content

Commit 412add8

Browse files
committed
Retire postgresql 13 since it is not available in alpine repos anymore
1 parent 6f62131 commit 412add8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM alpine:3
33
WORKDIR /root
44

55
RUN apk update && \
6-
apk add bash curl pigz postgresql13-client postgresql14-client postgresql15-client postgresql16-client rclone
6+
apk add bash curl pigz postgresql14-client postgresql15-client postgresql16-client rclone
77

88
COPY docker-entrypoint.sh /usr/local/bin/
99
RUN chmod +x /usr/local/bin/docker-entrypoint.sh

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
| POSTGRES_PASSWORD || | Postgres server password |
2121
| POSTGRES_PORT | | 5432 | Postgres server port |
2222
| POSTGRES_USER | | postgres | Postgres server user |
23-
| POSTGRES_VERSION | | 16 | Postgres server version (13, 14, 15 or 16) |
23+
| POSTGRES_VERSION | | 16 | Postgres server version (14, 15 or 16) |
2424
| WEBGAZER_HEARTBEAT_URL | | | [WebGazer Heartbeat Monitor](https://www.webgazer.io/services/cron-job-monitoring) URL |
2525

2626
### Running

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ POSTGRES_USER="${POSTGRES_USER:-postgres}"
2020
POSTGRES_VERSION="${POSTGRES_VERSION:-16}"
2121

2222
# validate environment variables
23-
POSTGRES_VERSIONS=(13 14 15 16)
23+
POSTGRES_VERSIONS=(14 15 16)
2424

2525
if [[ ! " ${POSTGRES_VERSIONS[*]} " =~ " ${POSTGRES_VERSION} " ]]; then
2626
echo "error: POSTGRES_VERSION can be one of these: ${POSTGRES_VERSIONS[*]}"

0 commit comments

Comments
 (0)