Georg Ledermann
4 years ago
No known key found for this signature in database
GPG Key ID: B6D83FBDDCEFBF3
2 changed files with
5 additions and
6 deletions
-
postgres-backup-s3/Dockerfile
-
postgres-backup-s3/install.sh
|
|
@ -1,4 +1,4 @@ |
|
|
|
FROM alpine:3.9 |
|
|
|
FROM alpine:3.13 |
|
|
|
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>" |
|
|
|
|
|
|
|
ADD install.sh 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 |
|
|
|
|
|
|
|