Only build shim on Linux
Currently does not build on any other platform, so add them in when it builds. With this Darwin builds without any errors. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ SNAPSHOT_PACKAGES=$(shell go list ./snapshot/...)
|
|||||||
|
|
||||||
# Project binaries.
|
# Project binaries.
|
||||||
COMMANDS=ctr containerd protoc-gen-gogoctrd dist ctrd-protobuild
|
COMMANDS=ctr containerd protoc-gen-gogoctrd dist ctrd-protobuild
|
||||||
ifneq ("$(GOOS)", "windows")
|
ifeq ("$(GOOS)", "linux")
|
||||||
COMMANDS += containerd-shim
|
COMMANDS += containerd-shim
|
||||||
endif
|
endif
|
||||||
BINARIES=$(addprefix bin/,$(COMMANDS))
|
BINARIES=$(addprefix bin/,$(COMMANDS))
|
||||||
|
|||||||
Reference in New Issue
Block a user