You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
424 B

  1. #! /bin/sh
  2. # exit if a command fails
  3. set -eo pipefail
  4. apk update
  5. # install pg_dump
  6. apk add postgresql
  7. # install s3 tools
  8. apk add python py2-pip
  9. pip install awscli
  10. apk del py2-pip
  11. # install go-cron
  12. apk add curl
  13. curl -L --insecure https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat > /usr/local/bin/go-cron
  14. chmod u+x /usr/local/bin/go-cron
  15. apk del curl
  16. # cleanup
  17. rm -rf /var/cache/apk/*