Skip to content

Commit

Permalink
Adding a makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
fkautz committed Nov 14, 2013
1 parent 3cf23b9 commit 26533eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 26533eb

Please sign in to comment.