mirror of
https://github.com/docker/compose.git
synced 2025-07-26 15:14:04 +02:00
Update classic Docker location depending on OS.
Adding support for devs on WSL2 and Linux.
This commit is contained in:
parent
2e11b2148a
commit
39f2093827
8
Makefile
8
Makefile
@ -25,6 +25,14 @@
|
|||||||
|
|
||||||
export DOCKER_BUILDKIT=1
|
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
|
all: cli
|
||||||
|
|
||||||
protos: ## Generate go code from .proto files
|
protos: ## Generate go code from .proto files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user