From 49da4df5b1e6ce6ce2d7388c153091001d58dc55 Mon Sep 17 00:00:00 2001 From: Silvin Lubecki Date: Thu, 27 Feb 2020 15:48:33 +0100 Subject: [PATCH] Fix windows exe extension not added by docker/cli cross build scripts. Signed-off-by: Silvin Lubecki --- static/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/Makefile b/static/Makefile index 54416ad0c9..d526f0a7ea 100644 --- a/static/Makefile +++ b/static/Makefile @@ -53,7 +53,7 @@ cross-mac: cross-all-cli cross-mac-plugins ## create tgz with darwin x86_64 clie .PHONY: cross-win cross-win: cross-all-cli cross-win-engine cross-win-plugins ## create zip file with windows x86_64 client and server mkdir -p build/win/docker - cp $(CLI_DIR)/build/docker-windows-amd64 build/win/docker/docker.exe + cp $(CLI_DIR)/build/docker-windows-amd64.exe build/win/docker/docker.exe cp $(ENGINE_DIR)/bundles/cross/windows/amd64/dockerd-$(STATIC_VERSION).exe build/win/docker/dockerd.exe docker run --rm -v $(CURDIR)/build/win:/v -w /v alpine sh -c 'apk update&&apk add zip&&zip -r docker-$(STATIC_VERSION).zip docker' $(CHOWN) -R $(shell id -u):$(shell id -g) build