summaryrefslogtreecommitdiff
path: root/unmaintained/kaniko/APKBUILD
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2022-12-17 22:57:09 +0100
committerHenrik Riomar <henrik.riomar@gmail.com>2022-12-17 22:57:41 +0100
commit190e9992e919a88967fef1575a2e29836b6e5844 (patch)
tree9b06426b3372be4dbddaf0b68f580086c51a0d6c /unmaintained/kaniko/APKBUILD
parent2ce0d323759c9d3617eb38226009d790bce248fd (diff)
downloadaports-190e9992e919a88967fef1575a2e29836b6e5844.zip
unmaintained/kaniko: move from testing
Diffstat (limited to 'unmaintained/kaniko/APKBUILD')
-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
+"