mirror of
https://github.com/prodrigestivill/docker-postgres-backup-local.git
synced 2026-06-09 13:08:01 +00:00
Initial commit.
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
#! /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/*
|
||||
Reference in New Issue
Block a user