blob: e943c52eb0bb6ea3df16d41f5df010e73801059d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer:
pkgname=kaniko
pkgver=1.9.1
pkgrel=1
pkgdesc="Build Container Images In Kubernetes"
url="https://github.com/GoogleContainerTools/kaniko/"
arch="all"
license="Apache-2.0"
makedepends="bash go"
source="https://github.com/GoogleContainerTools/kaniko/archive/v$pkgver/kaniko-$pkgver.tar.gz"
export GOFLAGS="$GOFLAGS -modcacherw"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
make out/executor
}
check() {
go test -short ./cmd/...
}
package() {
install -Dm755 out/executor "$pkgdir"/usr/bin/kaniko-executor
}
sha512sums="
794552b7e0ae5d36ee81e5bd741072fb00dca358d627a973c1ffa64cdd92d0e048fe06fe6080cb76ce9159c4d925895128b12fd0af8e01b8acfb590fa3214197 kaniko-1.9.1.tar.gz
"
|