Last active
August 29, 2015 14:05
-
-
Save technicool/feab6b4a6da77a37be2d to your computer and use it in GitHub Desktop.
Install necessary stuff to get fig running on a vanilla Ubuntu 14.04 image
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 | |
# | |
# NOTE: This must be run as root! | |
# | |
# Install necessary stuff to get fig running on a vanilla Ubuntu 14.04 image. | |
# | |
# This should really be put in some automated deployment system, but it's a | |
# good reference point for trying out fig and docker on an AWS or similar cloud. | |
# | |
# You can also use this to ensure that your development machine is up and running | |
# for containerized app development. | |
# | |
# Relevant apps installed: | |
# - docker.io | |
# - fig | |
# - git | |
# - vim | |
# | |
# To run a container: | |
# - Pull your repo down with `git`, | |
# - `cd` into your repo | |
# - Run `fab up` to start the container(s) | |
# | |
add-apt-repository ppa:docker-maint/testing | |
apt-get update | |
apt-get install -y build-essential python-dev python-pip git vim docker.io | |
pip install -U fig==0.4.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The version of fig and the ppa repo added are here due to the latest stable version of Docker as of August 11, 2014.
Feel free to send over a pull request or comment here if you see a way to improve things.