bootstrap/bootstrap-root.sh

41 lines
732 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
2018-11-23 10:59:55 +01:00
apt update \
&& apt dist-upgrade \
2018-11-23 11:00:30 +01:00
&& apt install -y \
2018-11-23 10:59:55 +01:00
apt-file \
apt-transport-https \
bash-completion \
build-essential \
byobu \
ca-certificates \
clang \
cmake \
command-not-found \
curl \
elinks \
git \
htop \
libpython-dev \
libpython3-dev \
locales \
man \
mc \
neovim \
python3 \
python3-venv \
software-properties-common \
2018-11-23 11:03:29 +01:00
tig \
2018-11-23 10:59:55 +01:00
zsh \
&& 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