fix(kustomize)

closes #4339
This commit is contained in:
Jacob Heider 2023-12-07 12:11:17 -05:00 committed by Jacob Heider
parent 0c742fe752
commit 43d80ff351

View file

@ -15,7 +15,10 @@ dependencies:
build: build:
dependencies: dependencies:
go.dev: ^1.18 go.dev: ^1.18
linux:
gnu.org/gcc: '*' # aarch64 wants `ld.gold`
env: env:
GOBIN: '{{prefix}}/bin'
GO111MODULE: on GO111MODULE: on
LDFLAGS: LDFLAGS:
- -s - -s
@ -25,8 +28,7 @@ build:
# https://github.com/docker-library/golang/issues/402#issuecomment-982204575 # https://github.com/docker-library/golang/issues/402#issuecomment-982204575
LDFLAGS: LDFLAGS:
- -buildmode=pie - -buildmode=pie
script: | script: go install -v -ldflags="$LDFLAGS" ./kustomize
GOBIN={{prefix}}/bin go install -v -ldflags="$LDFLAGS" ./kustomize
test: test:
script: | script: |