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.

23 lines
378 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-client
  7. # install s3 tools
  8. apk add aws-cli
  9. # install go-cron
  10. apk add curl
  11. curl -L https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat > /usr/local/bin/go-cron
  12. chmod u+x /usr/local/bin/go-cron
  13. apk del curl
  14. # cleanup
  15. rm -rf /var/cache/apk/*