diff options
author | Magicloud <1886157+Magicloud@users.noreply.github.com> | 2019-03-12 22:55:35 +0800 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-03-13 19:06:53 +0000 |
commit | 092a3919797cbacd2928e8e36354cd7975db1246 (patch) | |
tree | ecdcb5754627e286c575ed7b6fc86aba27855001 /testing/minikube | |
parent | 208d055ecf2addf915adc8d671e708d8b701c9d4 (diff) | |
download | aports-092a3919797cbacd2928e8e36354cd7975db1246.tar.bz2 aports-092a3919797cbacd2928e8e36354cd7975db1246.tar.xz |
testing/minikube: new aport
Minikube is kind of useful on one host usercase.
Migrated from Archlinux AUR. Tested in Alpinelinux v3.9 x86_64.
Diffstat (limited to 'testing/minikube')
-rw-r--r-- | testing/minikube/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/minikube/APKBUILD b/testing/minikube/APKBUILD new file mode 100644 index 0000000000..495f738328 --- /dev/null +++ b/testing/minikube/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: +# Maintainer: Magicloud <magiclouds@gmail.com> +pkgname=minikube +pkgver=0.35.0 +pkgrel=0 +pkgdesc="Minikube is a tool that makes it easy to run Kubernetes locally" +url="https://github.com/kubernetes/minikube" +arch="all" +license="Apache" +makedepends="make go git bash" +source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/minikube/archive/v$pkgver.tar.gz" + +prepare () { + rm -rf "$srcdir/src" + mkdir -p "$srcdir/src/k8s.io" + mv "$srcdir/minikube-$pkgver" "$srcdir/src/k8s.io/minikube" +} + +build () { + export GOPATH="$srcdir" + cd "$GOPATH/src/k8s.io/minikube" + make +} + +package () { + install -Dm755 "$srcdir/src/k8s.io/minikube/out/minikube" -t "$pkgdir/usr/bin" +} + +check () { + export GOPATH="$srcdir" + cd "$GOPATH/src/k8s.io/minikube" + make test +} + +sha512sums="ef5158ebf42090570e5bef3ff7cfe3536c091356119925029510a0cec93fa0deba780964fc576e54ccb50336d05d95782a405b3161e0ff2fa0544d82ae0d7682 minikube-0.35.0.tar.gz" |