From efaaf23e4e55d75c79eee689afa087e1374648ab Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Fri, 19 Mar 2021 11:40:42 +0100 Subject: [PATCH] Update alpine from 3.9 to 3.13 --- postgres-backup-s3/Dockerfile | 2 +- postgres-backup-s3/install.sh | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/postgres-backup-s3/Dockerfile b/postgres-backup-s3/Dockerfile index af5740d..69c31ac 100644 --- a/postgres-backup-s3/Dockerfile +++ b/postgres-backup-s3/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.9 +FROM alpine:3.13 LABEL maintainer="Johannes Schickling " ADD install.sh install.sh diff --git a/postgres-backup-s3/install.sh b/postgres-backup-s3/install.sh index 16c7119..b670767 100644 --- a/postgres-backup-s3/install.sh +++ b/postgres-backup-s3/install.sh @@ -7,16 +7,15 @@ set -e apk update # install pg_dump -apk add postgresql +apk add postgresql-client # install s3 tools -apk add python py2-pip -pip install awscli -apk del py2-pip +apk add python3 py3-pip +pip3 install awscli # install go-cron apk add curl -curl -L --insecure https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat > /usr/local/bin/go-cron +curl -L https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat > /usr/local/bin/go-cron chmod u+x /usr/local/bin/go-cron apk del curl