mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
0c742fe752
commit
43d80ff351
|
@ -15,7 +15,10 @@ dependencies:
|
|||
build:
|
||||
dependencies:
|
||||
go.dev: ^1.18
|
||||
linux:
|
||||
gnu.org/gcc: '*' # aarch64 wants `ld.gold`
|
||||
env:
|
||||
GOBIN: '{{prefix}}/bin'
|
||||
GO111MODULE: on
|
||||
LDFLAGS:
|
||||
- -s
|
||||
|
@ -25,8 +28,7 @@ build:
|
|||
# https://github.com/docker-library/golang/issues/402#issuecomment-982204575
|
||||
LDFLAGS:
|
||||
- -buildmode=pie
|
||||
script: |
|
||||
GOBIN={{prefix}}/bin go install -v -ldflags="$LDFLAGS" ./kustomize
|
||||
script: go install -v -ldflags="$LDFLAGS" ./kustomize
|
||||
|
||||
test:
|
||||
script: |
|
||||
|
|
Loading…
Reference in a new issue