summaryrefslogtreecommitdiff
path: root/testing/trivy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/trivy/APKBUILD')
-rw-r--r--testing/trivy/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/trivy/APKBUILD b/testing/trivy/APKBUILD
index bc838a444ca..8d159b089f0 100644
--- a/testing/trivy/APKBUILD
+++ b/testing/trivy/APKBUILD
@@ -15,6 +15,10 @@ makedepends="btrfs-progs-dev go linux-headers lvm2-dev"
source="https://github.com/aquasecurity/trivy/archive/v$pkgver/trivy-$pkgver.tar.gz"
options="net !check" # needs tinygo to turn go into wasm for tests
+export GOCACHE="$srcdir/go-cache"
+export GOTMPDIR="$srcdir"
+export GOMODCACHE="$srcdir/go"
+
build() {
make build VERSION=$pkgver
}