Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loong64/containerd-packaging
https://github.com/docker/containerd-packaging
https://github.com/loong64/containerd-packaging
Last synced: about 2 months ago
JSON representation
https://github.com/docker/containerd-packaging
- Host: GitHub
- URL: https://github.com/loong64/containerd-packaging
- Owner: loong64
- License: apache-2.0
- Created: 2024-05-23T03:52:17.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-23T04:35:30.000Z (8 months ago)
- Last Synced: 2024-05-23T04:57:44.118Z (8 months ago)
- Language: Dockerfile
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# containerd-packaging
# Usage:
To build a distro-specific package (rpm or deb):
```bash
make clean
make docker.io/library/: [docker.io/library/: ...]# 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:```bash
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`:```bash
make REF= CONTAINERD_DIR= docker.io/library/:
```For example:
```bash
make clean
make REF=HEAD CONTAINERD_DIR=/home/me/go/src/github.com/containerd/containerd docker.io/library/ubuntu:jammy
```## For package maintainers:
* [deb package maintainers guide](debian/README.md)
* [rpm package maintainers guide](rpm/README.md)[common/common.mk]: https://github.com/docker/containerd-packaging/blob/main/common/common.mk#L19
[script/setup/runc-version]: https://github.com/containerd/containerd/blob/v1.7.18/script/setup/runc-version