aboutsummaryrefslogtreecommitdiff
path: root/utils/nerdctl
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2023-10-04 18:34:31 +0200
committerTianling Shen <cnsztl@gmail.com>2023-10-20 16:24:14 +0800
commitc41270351eead508bb28e6870502f016889e01b0 (patch)
tree53adf4f4cffa2f950f218a003098b0e7725c8527 /utils/nerdctl
parente2b439c487a85fe70db91680fe78ad4ceb71a331 (diff)
nerdctl: New package
contaiNERD CTL - Docker-compatible CLI for containerd, with support for Compose, Rootless, eStargz, OCIcrypt, IPFS, ... Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'utils/nerdctl')
-rw-r--r--utils/nerdctl/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/utils/nerdctl/Makefile b/utils/nerdctl/Makefile
new file mode 100644
index 000000000..7ae268bad
--- /dev/null
+++ b/utils/nerdctl/Makefile
@@ -0,0 +1,38 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=nerdctl
+PKG_VERSION:=1.6.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/containerd/nerdctl/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=a369b1c517d9c3d53d00b29633a6176a05811214a44dd25d339c32cc6a901579
+
+PKG_LICENSE:=Apache-2.0
+PKG_LICENSE_FILES:=LICENSE
+PKG_MAINTAINER:=Luca Barbato <lu_zero@gentoo.org>
+
+PKG_BUILD_DEPENDS:=golang/host
+PKG_BUILD_PARALLEL:=1
+PKG_BUILD_FLAGS:=no-mips16
+
+GO_PKG:=github.com/containerd/nerdctl
+
+include $(INCLUDE_DIR)/package.mk
+include ../../lang/golang/golang-package.mk
+
+define Package/nerdctl
+ SECTION:=utils
+ CATEGORY:=Utilities
+ TITLE:=contaiNERD CTL - Docker-compatible CLI for containerd
+ URL:=https://containerd.io
+ DEPENDS:=$(GO_ARCH_DEPENDS)
+endef
+
+define Package/nerdctl/description
+ Docker-compatible CLI for containerd, with support for Compose, Rootless,
+ eStargz, OCIcrypt, IPFS, ...
+endef
+
+$(eval $(call GoBinPackage,nerdctl))
+$(eval $(call BuildPackage,nerdctl))