Adding a makefile

This commit is contained in:
Frederick F. Kautz IV 2013-11-14 05:34:25 +00:00
parent 3cf23b93ea
commit 26533eb2c4

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
default: build
build:
sudo docker build -t docker .
sudo docker run -privileged -v `pwd`:/go/src/github.com/dotcloud/docker docker hack/make.sh binary
doc:
cd docs && docker build -t docker:docs . && docker run -p 8000:8000 docker:docs
test:
sudo docker run -privileged -v `pwd`:/go/src/github.com/dotcloud/docker docker hack/make.sh test
shell:
sudo docker run -privileged -i -t docker bash