pantry/projects/kubernetes.io/minikube/package.yml

29 lines
593 B
YAML
Raw Normal View History

2023-03-13 23:57:47 +03:00
distributable:
url: https://github.com/kubernetes/minikube/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: kubernetes/minikube/releases/tags
provides:
- bin/minikube
dependencies:
kubernetes.io/kubectl: '*'
build:
dependencies:
go.dev: ^1.19
github.com/kevinburke/go-bindata: '*'
2023-11-09 00:15:06 +03:00
script:
- run: |
sed -E -i.bak -e's/(_LDFLAGS := "?)/\1-buildmode=pie /' Makefile
rm Makefile.bak
if: linux
- make
- mkdir -p "{{ prefix }}"/bin
- mv out/minikube "{{ prefix }}"/bin
2023-03-13 23:57:47 +03:00
2023-11-09 00:15:06 +03:00
test:
2023-03-13 23:57:47 +03:00
script: |
minikube version