Files
docker-postgres-backup-local/install.sh
T
Pau Rodriguez-Estivill 3395f51c5d Fixed permisions.
2016-10-28 15:20:36 +02:00

19 lines
323 B
Bash
Executable File

#! /bin/sh
# exit if a command fails
set -e
apk update
# install pg_dump
apk add postgresql
# install go-cron
apk add curl
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
# cleanup
rm -rf /var/cache/apk/*