Commit 39b37cfb authored by nanahira's avatar nanahira

fix timezone

parent 18404b56
Pipeline #805 passed with stages
in 5 minutes and 54 seconds
...@@ -6,18 +6,21 @@ set -e ...@@ -6,18 +6,21 @@ set -e
apk update apk update
# install mysqldump
apk add mysql-client
apk add mysql-client python3 py3-pip tzdata
cp -rf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
echo "Asia/Shanghai" > /etc/timezone
# install s3 tools # install s3 tools
apk add python3 py3-pip
pip install awscli pip install awscli
# install go-cron # install go-cron
apk add curl 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 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 chmod u+x /usr/local/bin/go-cron
apk del curl apk del curl tzdata
# cleanup # cleanup
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment