aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrung LĂȘ <trung.le@ruby-journal.com>2020-07-27 05:51:04 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2020-08-06 17:12:53 +0000
commitf317ee32933b305f785fd4e8a4e2c8ae583b00de (patch)
tree4c98b705db5a5b848de75d265dcae32470d12cf3
parenta7d4d1281579abba54a72fff33a4e45cab70182e (diff)
downloadaports-f317ee32933b305f785fd4e8a4e2c8ae583b00de.tar.gz
aports-f317ee32933b305f785fd4e8a4e2c8ae583b00de.tar.bz2
aports-f317ee32933b305f785fd4e8a4e2c8ae583b00de.tar.xz
community/containerd: add default config file
-rw-r--r--community/containerd/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/containerd/APKBUILD b/community/containerd/APKBUILD
index 801b8fc4cd..d557d17e07 100644
--- a/community/containerd/APKBUILD
+++ b/community/containerd/APKBUILD
@@ -6,7 +6,7 @@ pkgname=containerd
# NOTE: containerd's Makefile tries to get REVISION from git, but we're building from a tarball.
_commit=be75852b8d7849474a20192f9ed1bf34fdd454f1
pkgver=1.3.6
-pkgrel=3
+pkgrel=4
pkgdesc="An open and reliable container runtime"
url="https://containerd.io"
arch="all !mips !mips64"
@@ -73,6 +73,8 @@ package() {
install -Dm644 "$builddir"/man/*.5 "$pkgdir"/usr/share/man/man5/
install -d "$pkgdir"/usr/share/man/man8/
install -Dm644 "$builddir"/man/*.8 "$pkgdir"/usr/share/man/man8/
+ install -d "$pkgdir"/etc/containerd/
+ "$pkgdir"/bin/containerd config default | sed "s|/opt/cni/bin|/usr/libexec/cni|g" > "$pkgdir"/etc/containerd/config.toml
}
openrc() {