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.

24 lines
433 B

  1. #! /bin/sh
  2. # exit if a command fails
  3. set -e
  4. apk update
  5. # install s3 tools
  6. apk add python py-pip
  7. pip install awscli
  8. apk del py-pip
  9. # install go-cron
  10. apk add curl
  11. curl -L --insecure 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. # install coreutils for date -d
  15. apk add --update coreutils
  16. # cleanup
  17. rm -rf /var/cache/apk/*