Skip to content

Commit

Permalink
fix: only build a single binary in the init-package make target (#2614)
Browse files Browse the repository at this point in the history
## Description
This PR updates the `init-package` make target to ensure it builds only
the binary appropriate for the local system
  • Loading branch information
lucasrod16 committed Jun 12, 2024
1 parent 83da6d2 commit 5c25319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ build-local-agent-image: ## Build the Zarf agent image to be used in a locally b
@ if [ "$(ARCH)" = "arm64" ]; then rm build/zarf-linux-arm64; fi

init-package: ## Create the zarf init package (must `brew install coreutils` on macOS and have `docker` first)
@test -s $(ZARF_BIN) || $(MAKE) build-cli
@test -s $(ZARF_BIN) || $(MAKE)
$(ZARF_BIN) package create -o build -a $(ARCH) --confirm .

# INTERNAL: used to build a release version of the init package with a specific agent image
Expand Down

0 comments on commit 5c25319

Please sign in to comment.