Merge pull request #208 from metcalfc/wsl2

Update classic Docker location depending on OS.
This commit is contained in:
Djordje Lukic 2020-06-13 02:41:48 -07:00 committed by GitHub
commit f19fe9e188
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,14 @@
export DOCKER_BUILDKIT=1
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
CLASSIC_DOCKER=/usr/bin/docker
endif
ifeq ($(UNAME_S),Darwin)
CLASSIC_DOCKER=/Applications/Docker.app/Contents/Resources/bin/docker
endif
all: cli
protos: ## Generate go code from .proto files