New package: containerd-1.0.2
This commit is contained in:
parent
e054597cef
commit
fd31abfcc1
2 changed files with 33 additions and 0 deletions
3
srcpkgs/containerd/files/containerd/run
Executable file
3
srcpkgs/containerd/files/containerd/run
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
env modeprobe overlay
|
||||||
|
exec containerd
|
30
srcpkgs/containerd/template
Normal file
30
srcpkgs/containerd/template
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# Template file for 'containerd'
|
||||||
|
pkgname=containerd
|
||||||
|
version=1.0.2
|
||||||
|
revision=1
|
||||||
|
_subver="rc.1"
|
||||||
|
_ver="$version-$_subver"
|
||||||
|
build_style=go
|
||||||
|
go_import_path=github.com/containerd/containerd
|
||||||
|
wrksrc="$pkgname-$_ver"
|
||||||
|
hostmakedepends="git go"
|
||||||
|
makedepends="libbtrfs-devel"
|
||||||
|
depends="runc"
|
||||||
|
short_desc="An open and reliable container runtime"
|
||||||
|
maintainer="Paul Knopf <pauldotknopf@gmail.com>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://github.com/containerd/containerd"
|
||||||
|
distfiles="https://github.com/containerd/containerd/archive/v${_ver}.tar.gz"
|
||||||
|
checksum=abece915b8017fa9de9afc1139a6adfbb829f192c707a6a8e13f17f17bb2c602
|
||||||
|
make_dirs="/var/lib/containerd 0755 root root"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
cd ${GOSRCPATH}
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vsv containerd
|
||||||
|
cd ${GOSRCPATH}
|
||||||
|
make install DESTDIR=${DESTDIR}/usr/
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue