moby/Makefile

19 lines
468 B
Makefile
Raw Normal View History

2013-11-14 05:34:25 +00:00
default: build
build: bundles
2013-11-14 05:53:53 +00:00
docker build -t docker .
docker run -privileged -v `pwd`/bundles:/go/src/github.com/dotcloud/docker/bundles docker hack/make.sh binary
2013-11-14 05:34:25 +00:00
doc:
cd docs && docker build -t docker-docs . && docker run -p 8000:8000 docker-docs
2013-11-14 05:34:25 +00:00
test: bundles
2013-12-03 18:53:57 +00:00
docker run -e TESTFLAGS -privileged -v `pwd`/bundles:/go/src/github.com/dotcloud/docker/bundles docker hack/make.sh test
2013-11-14 05:34:25 +00:00
shell:
2013-11-14 05:53:53 +00:00
docker run -privileged -i -t docker bash
bundles:
mkdir bundles