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.

28 lines
449 B

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