diff --git a/postgres-backup-s3/Dockerfile b/postgres-backup-s3/Dockerfile index 3fd968c..b8ca628 100644 --- a/postgres-backup-s3/Dockerfile +++ b/postgres-backup-s3/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.11 +FROM alpine:3.15 LABEL maintainer="Johannes Schickling " ADD install.sh install.sh diff --git a/postgres-backup-s3/install.sh b/postgres-backup-s3/install.sh index 8701728..f28d7a4 100644 --- a/postgres-backup-s3/install.sh +++ b/postgres-backup-s3/install.sh @@ -10,9 +10,7 @@ apk update apk add postgresql-client # install s3 tools -apk add python py2-pip -pip install awscli -apk del py2-pip +apk add aws-cli # install go-cron apk add curl diff --git a/postgres-restore-s3/Dockerfile b/postgres-restore-s3/Dockerfile index 501b66d..8db500a 100644 --- a/postgres-restore-s3/Dockerfile +++ b/postgres-restore-s3/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.7 +FROM alpine:3.15 LABEL maintainer="Johannes Schickling " ADD install.sh install.sh diff --git a/postgres-restore-s3/install.sh b/postgres-restore-s3/install.sh index e872274..b416ac3 100644 --- a/postgres-restore-s3/install.sh +++ b/postgres-restore-s3/install.sh @@ -6,12 +6,10 @@ set -eo pipefail apk update # install pg_dump -apk add postgresql +apk add postgresql-client # install s3 tools -apk add python py-pip -pip install awscli -apk del py-pip +apk add aws-cli # cleanup rm -rf /var/cache/apk/*