summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 81219b50e513..dcc2960638f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=amazon-ecr-credential-helper
pkgver=0.5.0
-pkgrel=2
+pkgrel=3
_commit=b19192b6522b2da02d14ec394c331f3b1a70efe2
pkgdesc="A credential helper for the Docker daemon that makes it easier to use Amazon EC2 Container Registry."
url='https://github.com/awslabs/amazon-ecr-credential-helper'
@@ -28,6 +28,7 @@ prepare() {
build() {
msg2 "Build program"
cd "${srcdir}/src/${_gourl}/${pkgname}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
GOPATH="${srcdir}" PATH="${srcdir}/bin:${PATH}" make
}