Selaa lähdekoodia

package/amazon-ecr-credential-helper: new package

Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Cc: Christian Stewart <christian@aperture.us>
[Julien: reflow Config.in help to fix check-package error]
Signed-off-by: Julien Olivain <ju.o@free.fr>
Yann E. MORIN 4 kuukautta sitten
vanhempi
commit
9a95806225

+ 1 - 0
package/Config.in

@@ -2809,6 +2809,7 @@ endmenu
 
 menu "System tools"
 	source "package/acl/Config.in"
+	source "package/amazon-ecr-credential-helper/Config.in"
 	source "package/android-tools/Config.in"
 	source "package/atop/Config.in"
 	source "package/attr/Config.in"

+ 9 - 0
package/amazon-ecr-credential-helper/Config.in

@@ -0,0 +1,9 @@
+config BR2_PACKAGE_AMAZON_ECR_CREDENTIAL_HELPER
+	bool "amazon-ecr-credential-helper"
+	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
+	help
+	  The Amazon ECR Docker Credential Helper is a credential
+	  helper for the Docker daemon that makes it easier to use
+	  Amazon Elastic Container Registry.
+
+	  https://github.com/awslabs/amazon-ecr-credential-helper

+ 2 - 0
package/amazon-ecr-credential-helper/amazon-ecr-credential-helper.hash

@@ -0,0 +1,2 @@
+# Localy computed
+sha256  53765b3e441a0e785131731d0cee4c0e2b2a22b90e523e9e4ec3e461c0ec5b05  amazon-ecr-credential-helper-v0.9.1-git4-go2.tar.gz

+ 20 - 0
package/amazon-ecr-credential-helper/amazon-ecr-credential-helper.mk

@@ -0,0 +1,20 @@
+################################################################################
+#
+# amazon-ecr-credential-helper
+#
+################################################################################
+
+AMAZON_ECR_CREDENTIAL_HELPER_VERSION = v0.9.1
+AMAZON_ECR_CREDENTIAL_HELPER_SITE = https://github.com/awslabs/amazon-ecr-credential-helper
+AMAZON_ECR_CREDENTIAL_HELPER_SITE_METHOD = git
+
+AMAZON_ECR_CREDENTIAL_HELPER_LICENSE = Apache-2.0
+AMAZON_ECR_CREDENTIAL_HELPER_LICENSE_FILES = LICENSE
+
+AMAZON_ECR_CREDENTIAL_HELPER_SUBDIR = ecr-login
+
+AMAZON_ECR_CREDENTIAL_HELPER_GOMOD = ./cli
+AMAZON_ECR_CREDENTIAL_HELPER_BUILD_TARGETS = docker-credential-ecr-login
+AMAZON_ECR_CREDENTIAL_HELPER_INSTALL_BINS = docker-credential-ecr-login
+
+$(eval $(golang-package))