Adding a makefile
This commit is contained in:
parent
3cf23b93ea
commit
26533eb2c4
1 changed files with 14 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal 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
|
Loading…
Reference in a new issue