aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/containerd/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-09-12 03:06:16 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-09-12 03:06:16 +0800
commit78816a5a50d42d12d6e993abc4ddd354110e8e0d (patch)
tree52ac24dd6298ad016d74a7a4d66d35fc220ce95f /repos/extra/containerd/abuild
parenta704e7673959fbc9264ace85fe2419a09bf13256 (diff)
downloadalicelinux-78816a5a50d42d12d6e993abc4ddd354110e8e0d.tar.gz
alicelinux-78816a5a50d42d12d6e993abc4ddd354110e8e0d.zip
containerd: new added
Diffstat (limited to 'repos/extra/containerd/abuild')
-rw-r--r--repos/extra/containerd/abuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repos/extra/containerd/abuild b/repos/extra/containerd/abuild
new file mode 100644
index 00000000..f12bd64f
--- /dev/null
+++ b/repos/extra/containerd/abuild
@@ -0,0 +1,17 @@
+name=containerd
+version=2.1.4
+release=1
+source="https://github.com/${name}/${name}/archive/v${version}/${name}-v${version}.tar.gz"
+
+build() {
+ export GO111MODULE=auto
+ mkdir -p src/github.com/$name
+ cd src/github.com/$name
+ ln -s $SRC/$name-$version $name
+ cd $name
+ export GOPATH=$SRC
+ # use the long commit hash here
+ make VERSION=v$version REVISION=75cb2b7193e4e490e9fbdc236c0e811ccaba3376
+ install -d -m 0755 $PKG/usr/bin
+ install -m 0755 bin/* $PKG/usr/bin/
+}