bootstrap/bootstrap-root.sh

18 lines
620 B
Bash
Raw Normal View History

2018-11-23 10:10:17 +01:00
#! /bin/bash
# fail immediately on error
set -e
2018-11-23 10:10:17 +01:00
bash -c "apt update && apt dist-upgrade && \
apt install bash-completion locales man mc elinks git zsh curl neovim byobu htop \
command-not-found apt-file apt-transport-https ca-certificates software-properties-common \
python3-venv python3 libpython-dev libpython3-dev cmake clang build-essential && \
apt-file update"
2018-11-23 10:10:17 +01:00
# node related
curl -RLSsf1 https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
# python3 related
curl -RLSsf1 https://bootstrap.pypa.io/get-pip.py | python2 && \
curl -RLSsf1 https://bootstrap.pypa.io/get-pip.py | python3