Package Details: amazon-ecr-credential-helper 0.7.1-1

Git Clone URL: https://aur.archlinux.org/amazon-ecr-credential-helper.git (read-only, click to copy)
Package Base: amazon-ecr-credential-helper
Description: A credential helper for the Docker daemon that makes it easier to use Amazon EC2 Container Registry.
Upstream URL: https://github.com/awslabs/amazon-ecr-credential-helper
Licenses: Apache
Submitter: bramswenson
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 6
Popularity: 0.039825
First Submitted: 2017-06-21 23:06 (UTC)
Last Updated: 2024-03-18 09:13 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

tomaspinho commented on 2023-05-15 11:12 (UTC) (edited on 2023-05-15 11:15 (UTC) by tomaspinho)

If you have a set $GOROOT that doesn't match the "go" system dependency version, e.g. you use goenv to manage specific locally-installed Go version for development, this package will fail to build with a errors like:

compile: version "go1.19.4" does not match go tool version "go1.20.3"

To fix, just run unset GOROOT on the current shell and retry the installation.

To fix this for everyone, the package maintainer could replace:

GOPATH="${srcdir}" PATH="${srcdir}/bin:${PATH}" make

with:

GOPATH="${srcdir}" GOROOT= PATH="${srcdir}/bin:${PATH}" make

djmattyg007 commented on 2022-04-15 03:16 (UTC)

I feel it's a little unnecessary to bump the pkgrel for a change such as adding a new architecture.

dcelasun commented on 2022-03-22 09:27 (UTC)

@whynothugo done!

whynothugo commented on 2022-03-22 09:21 (UTC)

This builds fine on arm64. Can you update arch to arch=('i686' 'x86_64' 'aarch64')?

dcelasun commented on 2021-08-26 04:28 (UTC)

@ghtor updated, thanks!

ghthor commented on 2021-08-25 19:07 (UTC) (edited on 2021-08-25 19:09 (UTC) by ghthor)

@dcelasun

I've added the following based on the guidelines from the Go package guidelines. This is mostly to fix the explosion of errors when yay finishes the install and tries to remove the package directory; this is related to the the flag -modcacherw which allows yay to remove the srcdir after the package is installed. You'll see similar work is being done for nomad.

diff --git a/PKGBUILD b/PKGBUILD
index 81219b5..562f869 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
 }

bramswenson commented on 2017-11-14 19:00 (UTC)

Hey @djara, I don't really use this helper anymore. I've added you as a maintainer if you'd like to handle the update yourself. Thanks!

djara commented on 2017-11-14 18:57 (UTC)

It seems package content changed, because sha512sum is different now: ==> Validating source files with sha512sums... amazon-ecr-credential-helper-d33bfc419b3300614961ab30abe01548fd325258.tar.gz ... FAILED ==> ERROR: One or more files did not pass the validity check! Please, is it possible to fix the package and release more recent version? THANKS.