Files
ubuntu-fish-dotfiles/main.sh

33 lines
762 B
Bash

#!/bin/bash
USER=t31m
# we need to be root for this install script
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
# Ubuntu Baseline Packages
# update repos + system
apt get update && apt upgrade
# install env packages
apt install git fish fzf pyenv pyenv-virtualenv
# install docker stable, if this failes try below
curl -fsSL https://get.docker.com | sh
#curl -fsSL https://test.docker.com | sh
# install docker-compose
curl -L https://github.com/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
usermod -aG docker t31m
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash