Skip to content

Instantly share code, notes, and snippets.

@samtkach
Created September 2, 2017 23:34
Show Gist options
  • Save samtkach/b870488d3dc1bd5c0ed83ecf6be0975d to your computer and use it in GitHub Desktop.
Save samtkach/b870488d3dc1bd5c0ed83ecf6be0975d to your computer and use it in GitHub Desktop.
Install docker and set up my portable dev environment on Ubuntu 16.04
#!/bin/bash
# install docker
echo "--------> installing docker..."
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common git vim build-essential python python-pip pyt
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install -y docker-ce
# setup custom configurations
echo "--------> setting up dotfiles..."
cd ~/ && git clone https://github.com/samtkach/dotfiles.git
bash ~/dotfiles/setup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment