neersighted / containerd-packaging

Linux distro packaging for containerd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

containerd-packaging

Usage:

To build a distro-specific package (rpm or deb):

make clean
make docker.io/library/<distro>:<version> [docker.io/library/<distro>:<version> ...]

# for example:
# make docker.io/library/centos:7
# make docker.io/library/ubuntu:jammy

After build completes, packages can be found in the build directory.

Building a package from a local source directory

Specify the path to the local source directory using CONTAINERD_DIR and/or RUNC_DIR:

make REF=<git reference> CONTAINERD_DIR=<path to repository> docker.io/library/<distro>:<version>

For example:

make clean
make REF=HEAD CONTAINERD_DIR=/home/me/go/src/github.com/containerd/containerd docker.io/library/ubuntu:jammy

For package maintainers:

About

Linux distro packaging for containerd

License:Apache License 2.0


Languages

Language:Shell 47.9%Language:Dockerfile 36.1%Language:Makefile 15.9%