25 lines
786 B
Bash
Executable File
25 lines
786 B
Bash
Executable File
#!/bin/bash
|
|
|
|
USER=t31m
|
|
|
|
# update repos + system
|
|
apt-get update && apt-get upgrade
|
|
|
|
# install env packages
|
|
apt-get install git fish fzf build-essential jq vim curl -y
|
|
|
|
# pyenv dependencies ?
|
|
apt-get install python3-dev python3-setuptools python3-pip python3-smbus libffi-dev libssl-dev openssl zlib1g-dev libsqlite3-dev tk-dev libreadline-dev libbz2-dev -y
|
|
|
|
# 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
|
|
|
|
echo "Initial Setup Complete. Please run fish_setup.sh for env setup"
|