Skip to content

Commit

Permalink
earthly: fix CGO_ENABLED should be 0
Browse files Browse the repository at this point in the history
Fixes earthly/earthly#2247

Closes #115350.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
vladaionescu authored and BrewTestBot committed Nov 10, 2022
1 parent 351dc97 commit 99f98bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Formula/earthly.rb
Expand Up @@ -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}
Expand Down

0 comments on commit 99f98bf

Please sign in to comment.