Skip to content

Instantly share code, notes, and snippets.

@cooljl31
Forked from mrsipan/build-docker.sh
Created June 3, 2016 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cooljl31/1aaac41a7b7b94b589a6802d423c423f to your computer and use it in GitHub Desktop.
Save cooljl31/1aaac41a7b7b94b589a6802d423c423f to your computer and use it in GitHub Desktop.
sudo yum -y install lxc curl zc-utils go git mercurial
export GOPATH=/opt/go
export PATH=$GOPATH/bin:$PATH
mkdir -p $GOPATH/src/github.com/dotcloud
cd $GOPATH/src/github.com/dotcloud
git clone https://github.com/dotcloud/docker.git
cd docker
go get -v github.com/dotcloud/docker/...
go install -v github.com/dotcloud/docker/...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment