From 99f98bf89f83ff5c1b6c63a95c3acfee6fa4b588 Mon Sep 17 00:00:00 2001 From: "Vlad A. Ionescu" <446771+vladaionescu@users.noreply.github.com> Date: Wed, 9 Nov 2022 19:02:08 -0800 Subject: [PATCH] earthly: fix CGO_ENABLED should be 0 Fixes https://github.com/earthly/earthly/issues/2247 Closes #115350. Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/earthly.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/earthly.rb b/Formula/earthly.rb index fdc1b44ed28e8..3ee5e66992cf5 100644 --- a/Formula/earthly.rb +++ b/Formula/earthly.rb @@ -20,6 +20,7 @@ class Earthly < Formula depends_on "go" => :build def install + ENV["CGO_ENABLED"] = "0" ldflags = %W[ -s -w -X main.DefaultBuildkitdImage=earthly/buildkitd:v#{version}