mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-31 19:31:10 +02:00
- Change URL to HTTPS. - Change license to SPDX format. - Change source back to GitHub, dropping custom 'unpack()' method. - Add 'ensure-cgo-usage.patch'. - Drop 'fix-support-for-ppc64le.patch' as the package isn't built for this architecture. - Enable verbose build to avoid timeout on Travis CI. - Sort binaries list, drop 'kube-aggregator' that was removed upstream and use 'local' variable declaration.
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Contributor: Mateusz Mikuła <matti@marinelayer.io>
|
|
# Contributor: Tiago Ilieve <tiago.myhro@gmail.com>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=kubernetes
|
|
pkgver=1.12.2
|
|
pkgrel=0
|
|
pkgdesc="Container Cluster Manager for Docker"
|
|
url="https://kubernetes.io/"
|
|
arch="x86_64"
|
|
license="Apache-2.0"
|
|
options="!check"
|
|
depends="bash"
|
|
makedepends="bash coreutils findutils go linux-headers rsync grep"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/kubernetes/archive/v$pkgver.tar.gz
|
|
ensure-cgo-usage.patch
|
|
make-e2e_node-run-over-distro-bins.patch
|
|
make-test-cmd-run-over-hyperkube-based-kubectl.patch
|
|
remove-apiserver-add-kube-prefix-for-hyperkube.patch
|
|
"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
KUBE_VERBOSE=2 make -j1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
local binaries="hyperkube
|
|
kube-apiserver
|
|
kube-controller-manager
|
|
kube-scheduler
|
|
kubeadm
|
|
kubectl
|
|
kubelet
|
|
kube-proxy"
|
|
for bin in $binaries; do
|
|
install -Dm755 _output/local/bin/linux/amd64/$bin "$pkgdir"/usr/bin/$bin
|
|
done
|
|
install -d $pkgdir/var/lib/kubelet
|
|
}
|
|
|
|
sha512sums="7d59a28465ceacc0559da0436f0459192977447f622b9b1b7c323b2cc4a7c38d5a4100e00287c37251d1da641c04692813afa65df4051436b9144e438396cbb2 kubernetes-1.12.2.tar.gz
|
|
b7710dfe8a80f495e5eeb1d35d03179466bff4a3208d70591d1a9896709ec7383d17314d58eefc6ce1d6c23bd9b1ddf9b80886a8e39068761dd71f5e04cac1c3 ensure-cgo-usage.patch
|
|
06e3e8626b70077eb693da9c53dca3bc566aea4590a27c5dd3997b6d34abec5bf5d749b7be94b60b83361884c29b3a6dbb56c40b18c008b19e7cbd6e0d5c87e6 make-e2e_node-run-over-distro-bins.patch
|
|
cf6d9a5e873603462f0b8de60d3c72b10cbe68175f621f814cb5a85c11cb18f408639181227dfae6718671109cd198ef8720ee15a7d4132bba691bbd7224860f make-test-cmd-run-over-hyperkube-based-kubectl.patch
|
|
f60cb7006b85cac00b0f18f87cc9196541e359a82ba37b3e0938d5e9a6e178ef964df0695fff3135d4a6cc4f4d91e963bd184e3af140c7c1072735890ff4351d remove-apiserver-add-kube-prefix-for-hyperkube.patch"
|