Skip to content

Instantly share code, notes, and snippets.

@technicool
Last active August 29, 2015 14:05
Show Gist options
  • Save technicool/feab6b4a6da77a37be2d to your computer and use it in GitHub Desktop.
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
#!/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
@technicool
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment