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:
|
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: |
|
||||||
|
|
Loading…
Reference in a new issue