summaryrefslogtreecommitdiff
path: root/unmaintained
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/kaniko/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/unmaintained/kaniko/APKBUILD b/unmaintained/kaniko/APKBUILD
new file mode 100644
index 00000000000..e943c52eb0b
--- /dev/null
+++ b/unmaintained/kaniko/APKBUILD
@@ -0,0 +1,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
+"