mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Removing sudo
This commit is contained in:
parent
26533eb2c4
commit
7267c4b746
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -1,14 +1,14 @@
|
||||||
default: build
|
default: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
sudo docker build -t docker .
|
docker build -t docker .
|
||||||
sudo docker run -privileged -v `pwd`:/go/src/github.com/dotcloud/docker docker hack/make.sh binary
|
docker run -privileged -v `pwd`:/go/src/github.com/dotcloud/docker docker hack/make.sh binary
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
cd docs && docker build -t docker:docs . && docker run -p 8000:8000 docker:docs
|
cd docs && docker build -t docker:docs . && docker run -p 8000:8000 docker:docs
|
||||||
|
|
||||||
test:
|
test:
|
||||||
sudo docker run -privileged -v `pwd`:/go/src/github.com/dotcloud/docker docker hack/make.sh test
|
docker run -privileged -v `pwd`:/go/src/github.com/dotcloud/docker docker hack/make.sh test
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
sudo docker run -privileged -i -t docker bash
|
docker run -privileged -i -t docker bash
|
||||||
|
|
Loading…
Reference in a new issue