Skip to content

Commit

Permalink
fixed arm cli build
Browse files Browse the repository at this point in the history
  • Loading branch information
knee-berts committed Mar 15, 2023
1 parent 7777f3e commit bcb3912
Show file tree
Hide file tree
Showing 3 changed files with 323 additions and 33 deletions.
2 changes: 1 addition & 1 deletion cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ dist:
mkdir -p bin/
CGO_ENABLED=0 GOOS=linux go build -mod=mod -a -ldflags $(LDFLAGS) -installsuffix cgo -o bin/gkekitctl-amd64
CGO_ENABLED=0 GOOS=darwin go build -mod=mod -a -ldflags $(LDFLAGS) -installsuffix cgo -o bin/gkekitctl-darwin
GOARM=7 GOARCH=arm CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -ldflags $(LDFLAGS) -installsuffix cgo -o bin/gkekitctl-arm
GOARM=7 GOARCH=arm CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -ldflags $(LDFLAGS) -installsuffix cgo -o bin/gkekitctl-arm -mod=mod
GOARCH=arm64 CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -ldflags $(LDFLAGS) -installsuffix cgo -o bin/gkekitctl-arm64
# GOOS=windows CGO_ENABLED=0 go build -mod=vendor -a -ldflags $(LDFLAGS) -installsuffix cgo -o bin/gkekitctl.exe
12 changes: 5 additions & 7 deletions cli/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@ module gkekitctl
go 1.16

require (
cloud.google.com/go v0.94.1
cloud.google.com/go/compute v1.10.0
cloud.google.com/go/serviceusage v1.0.0
cloud.google.com/go/storage v1.10.0
github.com/aws/aws-sdk-go v1.34.28 // indirect
cloud.google.com/go/storage v1.27.0
github.com/gofrs/uuid v4.1.0+incompatible
github.com/hashicorp/go-getter v1.6.2 // indirect
github.com/hashicorp/go-getter v1.7.1 // indirect
github.com/hashicorp/terraform-exec v0.15.0
github.com/manifoldco/promptui v0.9.0
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.2.1
github.com/spf13/viper v1.9.0
github.com/thanhpk/randstr v1.0.4
golang.org/x/text v0.3.7 // indirect
google.golang.org/api v0.57.0
google.golang.org/genproto v0.0.0-20210921142501-181ce0d877f6
google.golang.org/api v0.100.0
google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71
k8s.io/apimachinery v0.22.4
k8s.io/client-go v0.22.4
)
Loading

0 comments on commit bcb3912

Please sign in to comment.