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

#! /bin/sh
# exit if a command fails
set -e
# install s3cmd
apk update
apk add python py-pip py-setuptools git ca-certificates
pip install python-magic
git clone https://github.com/s3tools/s3cmd.git /tmp/s3cmd
cd /tmp/s3cmd
python setup.py install
# cleanup
apk del git
rm -rf /var/cache/apk/* /tmp/s3cmd