Skip to content

Commit

Permalink
Add pg_dump 15 *and* 16
Browse files Browse the repository at this point in the history
The fallback to 12 is no longer good enough
  • Loading branch information
SuperSandro2000 committed Feb 16, 2024
1 parent 03a9db6 commit b6818b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN addgroup -g 4200 appgroup \
# upgrade all installed packages to fix potential CVEs in advance
# also remove apk package manager to hopefully remove dependency on OpenSSL 🤞
RUN apk upgrade --no-cache --no-progress \
&& apk add --no-cache --no-progress postgresql16-client curl jq \
&& apk add --no-cache --no-progress postgresql15-client postgresql16-client curl jq \
&& apk add --no-cache --no-progress --repository=https://dl-cdn.alpinelinux.org/alpine/v3.18/community postgresql12-client \
&& apk del --no-cache --no-progress apk-tools alpine-keys

Expand Down
1 change: 1 addition & 0 deletions Makefile.maker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ dockerfile:
- "ENV ENV=/usr/bin/motd.sh" # `kubectl exec` is not a login shell, so we need to use this instead of /etc/profile or $HOME/.profile
extraPackages:
# for psql, pg_dump
- postgresql15-client
- postgresql16-client
# required for backup-tools.sh
- curl
Expand Down

0 comments on commit b6818b8

Please sign in to comment.