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
412 B

  1. #! /bin/sh
  2. # exit if a command fails
  3. set -e
  4. apk update
  5. # install pg_dump
  6. apk add postgresql
  7. # install s3 tools
  8. apk add python py-pip
  9. pip install awscli
  10. apk del py-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/*