Created
October 22, 2013 05:14
-
-
Save woozyking/7095552 to your computer and use it in GitHub Desktop.
Ubuntu Docker Dev Env
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 | |
# First step we update and upgrade | |
sudo apt-get update && sudo apt-get upgrade -y | |
# Second step install git as it's almost always needed nowadays | |
sudo apt-get install git -y | |
(cd /tmp && git clone --depth 1 https://github.com/visionmedia/git-extras.git && cd git-extras && sudo make install) | |
# For Docker | |
sudo apt-get install linux-image-extra-`uname -r` | |
sudo sh -c "wget -qO- https://get.docker.io/gpg | apt-key add -" | |
sudo sh -c "echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list" | |
sudo apt-get update | |
sudo apt-get install lxc-docker -y | |
# TODO: MongoDB and Redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment