summaryrefslogtreecommitdiff
path: root/testing/kompose/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kompose/APKBUILD')
-rw-r--r--testing/kompose/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/kompose/APKBUILD b/testing/kompose/APKBUILD
index c9a971f44a4..2a6981d01fe 100644
--- a/testing/kompose/APKBUILD
+++ b/testing/kompose/APKBUILD
@@ -17,6 +17,10 @@ subpackages="
source="$pkgname-$pkgver.tar.gz::https://github.com/kubernetes/kompose/archive/v$pkgver.tar.gz"
builddir="$srcdir/src/github.com/kubernetes/$pkgname"
+export GOCACHE="$srcdir/go-cache"
+export GOTMPDIR="$srcdir"
+export GOMODCACHE="$srcdir/go"
+
prepare() {
mkdir -p "$srcdir/src/github.com/kubernetes/"
ln -sf "$srcdir/$pkgname-$pkgver" "$srcdir/src/github.com/kubernetes/$pkgname"