Created
September 2, 2017 23:34
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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