Added docker
This commit is contained in:
parent
10aee82b9c
commit
3505c267b1
1 changed files with 13 additions and 3 deletions
16
bootstrap.sh
16
bootstrap.sh
|
@ -1,7 +1,11 @@
|
|||
#! /bin/sh
|
||||
DISTRO=$(lsb_release -is | tr '[A-Z]' '[a-z]')
|
||||
SUITE=$(lsb_release -cs)
|
||||
|
||||
sudo -S bash -c "apt update && apt dist-upgrade && \
|
||||
apt install bash-completion elinks git zsh curl neovim byobu command-not-found apt-file htop \
|
||||
python3-venv python3 locales man mc cmake clang build-essential libpython-dev libpython3-dev && \
|
||||
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-de cmake clang build-essential && \
|
||||
apt-file update && \
|
||||
update-command-not-found"
|
||||
|
||||
|
@ -18,9 +22,15 @@ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
|
|||
sudo apt-get install -y nodejs
|
||||
|
||||
# python3 related
|
||||
sudo -HS bash -c "curl -RLfs https://bootstrap.pypa.io/get-pip.py | python2 &&\
|
||||
sudo -HS bash -c "curl -RLfs https://bootstrap.pypa.io/get-pip.py | python2 && \
|
||||
curl -RLfs https://bootstrap.pypa.io/get-pip.py | python3"
|
||||
|
||||
# Docker related
|
||||
|
||||
curl -fsSL https://download.docker.com/linux/$DISTRO/gpg | sudo apt-key add - && \
|
||||
sudo add-apt-repository "deb https://download.docker.com/linux/$DISTRO $SUITE stable" && \
|
||||
sudo apt-get install -y docker
|
||||
|
||||
# vim related
|
||||
pip install --user neovim && \
|
||||
npm install -g instant-markdown-d && \
|
||||
|
|
Loading…
Reference in a new issue