diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-09-11 19:08:39 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-09-11 19:08:39 +0000 |
| commit | 7bcab9f10f7c2fd8575a2cdb1af34df2e2a507d1 (patch) | |
| tree | 8cf9d6ba17a283f679676a8cae7a23f86bcb644e /containerd/abuild | |
| parent | 8722d793c5f2694a61b35d515434c11d7fce5780 (diff) | |
| download | alicelinux-7bcab9f10f7c2fd8575a2cdb1af34df2e2a507d1.tar.gz alicelinux-7bcab9f10f7c2fd8575a2cdb1af34df2e2a507d1.zip | |
Woodpecker CI 5b6da4a4ac4587f28f132509e968b110a3a4a689 [SKIP CI]
Diffstat (limited to 'containerd/abuild')
| -rw-r--r-- | containerd/abuild | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/containerd/abuild b/containerd/abuild new file mode 100644 index 00000000..f12bd64f --- /dev/null +++ b/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/ +} |