Skip to content

Commit

Permalink
fix makefile to read variables from environment and overrides (flyteo…
Browse files Browse the repository at this point in the history
…rg#104)

Signed-off-by: Jeev B <[email protected]>
  • Loading branch information
jeevb authored Apr 12, 2023
1 parent c55f2de commit 53b81ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datacalog/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ compile:
go build -o datacatalog ./cmd/main.go && mv ./datacatalog ./bin

.PHONY: linux_compile
linux_compile: export CGO_ENABLED = 0
linux_compile: export GOOS = linux
linux_compile: export CGO_ENABLED ?= 0
linux_compile: export GOOS ?= linux
linux_compile:
go build -o /artifacts/datacatalog ./cmd/

Expand Down

0 comments on commit 53b81ca

Please sign in to comment.