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.

16 lines
308 B

9 years ago
9 years ago
9 years ago
  1. #! /bin/sh
  2. # exit if a command fails
  3. set -e
  4. # install s3cmd
  5. apk update
  6. apk add python py-pip py-setuptools git ca-certificates
  7. pip install python-magic
  8. git clone https://github.com/s3tools/s3cmd.git /tmp/s3cmd
  9. cd /tmp/s3cmd
  10. python setup.py install
  11. # cleanup
  12. apk del git
  13. rm -rf /var/cache/apk/* /tmp/s3cmd