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
24 lines
433 B
#! /bin/sh
|
|
|
|
# exit if a command fails
|
|
set -e
|
|
|
|
|
|
apk update
|
|
|
|
# install s3 tools
|
|
apk add python py-pip
|
|
pip install awscli
|
|
apk del py-pip
|
|
|
|
# install go-cron
|
|
apk add curl
|
|
curl -L --insecure https://github.com/odise/go-cron/releases/download/v0.0.6/go-cron-linux.gz | zcat > /usr/local/bin/go-cron
|
|
chmod u+x /usr/local/bin/go-cron
|
|
apk del curl
|
|
|
|
# install coreutils for date -d
|
|
apk add --update coreutils
|
|
|
|
# cleanup
|
|
rm -rf /var/cache/apk/*
|