1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #2693 from fkautz/makefile

Adding a makefile
This commit is contained in:
Solomon Hykes 2013-12-01 23:25:24 -08:00
commit c4548506c5

18
Makefile Normal file
View file

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