Fix build of image on osx
This commit is contained in:
parent
dec45b1180
commit
a34268851e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -74,7 +74,7 @@ help: ## Display this help
|
||||||
.PHONY: image
|
.PHONY: image
|
||||||
image: clean-image ## Build image for a particular arch.
|
image: clean-image ## Build image for a particular arch.
|
||||||
echo "Building docker image ($(ARCH))..."
|
echo "Building docker image ($(ARCH))..."
|
||||||
@cp -R bin/ rootfs/
|
@cp -R bin/ rootfs/bin
|
||||||
@docker build \
|
@docker build \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
--build-arg BASE_IMAGE="$(BASE_IMAGE)" \
|
--build-arg BASE_IMAGE="$(BASE_IMAGE)" \
|
||||||
|
@ -267,7 +267,7 @@ release: init-docker-buildx clean
|
||||||
echo "Building binaries..."
|
echo "Building binaries..."
|
||||||
$(foreach PLATFORM,$(PLATFORMS), ARCH=$(PLATFORM) make build;)
|
$(foreach PLATFORM,$(PLATFORMS), ARCH=$(PLATFORM) make build;)
|
||||||
|
|
||||||
@cp -R bin/ rootfs/
|
@cp -R bin/ rootfs/bin
|
||||||
|
|
||||||
echo "Building and pushing ingress-nginx image..."
|
echo "Building and pushing ingress-nginx image..."
|
||||||
@docker buildx build \
|
@docker buildx build \
|
||||||
|
|
Loading…
Reference in a new issue