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
FROM ubuntu:12.04 | |
MAINTAINER Nicolas BERNARD <[email protected]> | |
# Ruby | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C3173AA6 | |
RUN echo deb http://ppa.launchpad.net/brightbox/ruby-ng/ubuntu precise main > /etc/apt/sources.list.d/brightbox.list | |
# NodeJS (Assets pipeline) | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C7917B12 | |
RUN echo deb http://ppa.launchpad.net/chris-lea/node.js/ubuntu precise main > /etc/apt/sources.list.d/nodejs.list |
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
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" # install HomeBrew | |
brew tap caskroom/cask # install Cask | |
brew cask install virtualbox # install VirtualBox | |
brew install docker docker-machine # install Docker and Docker-machine | |
docker-machine create --driver virtualbox default # create a Docker VM named "default" | |
eval $(docker-machine env default) # set env var to tell Docker client to talk to our VM | |
docker version # Docker works, yay! | |
brew tap redspread/spread # tell HomeBrew where Spread is | |
brew install kubectl spread # install Kubectl and Spread | |
spread cluster start # ask Spread to start a k8s cluster with Docker client settings |