Browse Source
Update Alpine to 3.15 to support PostgreSQL 14 (#138 )
* Update alpine from 3.9 to 3.15
This adds support for PostgreSQL 14
* Fix missing python packages
* Install aws-cli as package
* Installing the PostgreSQL client is sufficient
pull/140/head
Georg Ledermann
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
5 additions and
9 deletions
postgres-backup-s3/Dockerfile
postgres-backup-s3/install.sh
postgres-restore-s3/Dockerfile
postgres-restore-s3/install.sh
@ -1,4 +1,4 @@
FROM alpine:3.11
FROM alpine:3.15
LABEL maintainer = "Johannes Schickling <schickling.j@gmail.com>"
LABEL maintainer = "Johannes Schickling <schickling.j@gmail.com>"
ADD install.sh install.sh
ADD install.sh install.sh
@ -10,9 +10,7 @@ apk update
apk add postgresql-client
apk add postgresql-client
# install s3 tools
# install s3 tools
apk add python py2-pip
pip install awscli
apk del py2-pip
apk add aws-cli
# install go-cron
# install go-cron
apk add curl
apk add curl
@ -1,4 +1,4 @@
FROM alpine:3.7
FROM alpine:3.15
LABEL maintainer = "Johannes Schickling <schickling.j@gmail.com>"
LABEL maintainer = "Johannes Schickling <schickling.j@gmail.com>"
ADD install.sh install.sh
ADD install.sh install.sh
@ -6,12 +6,10 @@ set -eo pipefail
apk update
apk update
# install pg_dump
# install pg_dump
apk add postgresql
apk add postgresql-client
# install s3 tools
# install s3 tools
apk add python py-pip
pip install awscli
apk del py-pip
apk add aws-cli
# cleanup
# cleanup
rm -rf /var/cache/apk/*
rm -rf /var/cache/apk/*