Docker Makefile: added DNS option.
# Conflicts: # docker/Makefile
This commit is contained in:
parent
e6bd6c1a39
commit
f117dcbe5f
@ -23,12 +23,13 @@
|
||||
TAG := glued
|
||||
VERSION := 2016.05.0
|
||||
VOLUME := $(CURDIR)/..
|
||||
DNS := 8.8.8.8
|
||||
|
||||
all:
|
||||
docker build -t $(TAG):$(VERSION) .
|
||||
|
||||
shell:
|
||||
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
||||
docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)
|
||||
|
||||
clean:
|
||||
@echo "* Stopping docker service..."
|
||||
|
Reference in New Issue
Block a user