sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
echo "hello test" |
sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
docker-compose --version |
sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-386 | |
sudo chmod +x /usr/local/bin/gitlab-runner | |
curl -sSL https://get.docker.com/ | sh | |
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sh get-docker.sh | |
# Needs fresh login to work | |
sudo usermod -aG docker $USER | |
# works immediately | |
sudo chmod 666 /var/run/docker.sock |
sudo apt-get update && sudo apt-get install -y apt-transport-https | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
sudo touch /etc/apt/sources.list.d/kubernetes.list | |
echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee -a /etc/apt/sources.list.d/kubernetes.list | |
sudo apt-get update | |
sudo apt-get install -y kubectl |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt-get install -y nodejs |
sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64 | |
sudo chmod +x /usr/local/bin/gitlab-runner | |
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash | |
sudo gitlab-runner install --user=gitlab-runner --working-directory=/home/gitlab-runner |
curl -O https://bootstrap.pypa.io/get-pip.py get-pip.py | |
python3 get-pip.py |
#!/usr/bin/env bash | |
current_path=$(pwd) | |
docker run -it --rm -v $current_path/neuro:/home/neuro/nipype_tutorial -p 80:8888 miykael/nipype_tutorial jupyter notebook |