No description
  • Dockerfile 45.3%
  • Shell 39.2%
  • Makefile 15.5%
Find a file
Sebastiaan van Stijn 4179daadda
Merge pull request #429 from vvoland/deprecated
README: Deprecate this repo
2025-12-01 12:18:38 +01:00
.github add pull-request template 2024-03-18 11:19:12 +01:00
common Jenkinsfile: build both release/1.7 and main branches 2024-06-11 18:29:12 +02:00
debian prepare release 1.7.27 2025-03-31 14:36:21 +02:00
dockerfiles remove ubuntu 20.04 "focal", as it reached EOL 2025-05-20 17:28:29 +02:00
rpm prepare release 1.7.27 2025-03-31 14:36:21 +02:00
scripts scripts/.rpm-helpers: prioritize dnf over yum 2024-07-20 20:21:27 +02:00
.dockerignore Add a .dockerignore 2020-04-20 12:28:07 +02:00
.gitignore Use upstream systemd unit file 2020-08-13 16:04:48 +02:00
CONTRIBUTING.md Add Contribution guide 2020-02-27 10:49:17 +01:00
Jenkinsfile Merge pull request #421 from thaJeztah/remove_ubuntu_20.04 2025-05-23 08:42:21 +00:00
LICENSE Add Apache License to open source the repository 2020-02-20 15:11:31 +01:00
Makefile remove ubuntu 20.04 "focal", as it reached EOL 2025-05-20 17:28:29 +02:00
Makefile.win update years in license headers 2022-03-04 10:30:39 +01:00
NOTICE update years in license headers 2022-03-04 10:30:39 +01:00
README.md Merge pull request #429 from vvoland/deprecated 2025-12-01 12:18:38 +01:00

containerd-packaging

⚠️ DEPRECATED: This repository is no longer used for containerd packaging by Docker Inc.

The new location for containerd packaging is docker/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 quay.io/centos/centos:stream9
# make docker.io/library/ubuntu:24.04

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

Specifying the version to build

By default, packages are built from HEAD of the release/1.7 branch, as defines in common/common.mk. The version of runc defaults to the version as specified by the containerd project through the script/setup/runc-version file in the containerd repository.

Use the REF and RUNC_REF make variables to specify the versions to build. The provided values must be a valid Git reference, which can be a commit (e.g., ae71819 or ae71819c4f5e67bb4d5ae76a6b735f29cc25774e), branch (e.g. main or release/1.7), or tag (e.g. v1.7.18).

The following example builds packages for containerd v1.7.18 with runc v1.1.12 for Ubuntu 24.04:

make REF=v1.7.18 RUNC_REF=v1.1.12 docker.io/library/ubuntu:24.04

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: