From a34268851e20b46a780b5b25e8ecf63544d59761 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Tue, 2 Jun 2020 16:22:23 -0400 Subject: [PATCH] Fix build of image on osx --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ac265b7e0..28c747d79 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ help: ## Display this help .PHONY: image image: clean-image ## Build image for a particular arch. echo "Building docker image ($(ARCH))..." - @cp -R bin/ rootfs/ + @cp -R bin/ rootfs/bin @docker build \ --no-cache \ --build-arg BASE_IMAGE="$(BASE_IMAGE)" \ @@ -267,7 +267,7 @@ release: init-docker-buildx clean echo "Building binaries..." $(foreach PLATFORM,$(PLATFORMS), ARCH=$(PLATFORM) make build;) - @cp -R bin/ rootfs/ + @cp -R bin/ rootfs/bin echo "Building and pushing ingress-nginx image..." @docker buildx build \