Docker Makefile: added DNS option.

# Conflicts:
#	docker/Makefile
This commit is contained in:
zepinto 2019-01-15 18:26:25 +00:00 committed by Paulo Dias
parent e6bd6c1a39
commit f117dcbe5f
1 changed files with 2 additions and 1 deletions

View File

@ -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..."