New package: containerd-1.0.2

This commit is contained in:
Paul Knopf 2018-02-12 01:37:59 +00:00 committed by Toyam Cox
parent e054597cef
commit fd31abfcc1
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
env modeprobe overlay
exec containerd

View 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/
}