ucloud-setup/init.sh
2019-08-28 13:07:21 +05:00

21 lines
No EOL
531 B
Bash

# Enable Alpine (3.10 + Edge) Repos
cat > /etc/apk/repositories << END \
http://dl-cdn.alpinelinux.org/alpine/v3.10/main
http://dl-cdn.alpinelinux.org/alpine/v3.10/community
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing
END
# Update Package List and Upgrade System
apk update
apk upgrade
# Install system packages
apk add python3 gcc g++ python3-dev
pip3 install --upgrade pip
pip3 install pipenv
pipenv install
pipenv shell