Enable docker host discovery to work across Mac, Linux

This commit is contained in:
Chris Johnson 2016-08-12 13:18:15 -04:00
parent 1eb5e3d517
commit 2fc037c81e
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
DHOST = $(shell echo $$(docker-machine ip)) UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
DHOST := $(shell echo $$(docker-machine ip))
else
DHOST := 127.0.0.1
endif
all: get-deps build all: get-deps build