1
0
mirror of https://github.com/docker/docker-ce-packaging.git synced 2025-04-19 00:04:03 +03:00
Robert Sturla fea785d7d0 fix: update binutils workaround to match containerd packaging
Co-authored-by: Paweł Gronowski <pawel.gronowski@docker.com>
Signed-off-by: Robert Sturla <robertsturla@outlook.com>
2025-03-28 09:42:32 +00:00
..
2025-02-13 09:30:23 +01:00
2023-01-11 17:17:20 +01:00
2025-02-26 20:18:44 +00:00

Building your own Docker rpm package

.rpm packages can be built from this directory with the following syntax

make rpm

Artifacts will be located in rpmbuild under the following directory structure: rpmbuild/$distro-$distro_version/

Building from local source

Specify the location of the source repositories for the engine and cli when building packages

  • ENGINE_DIR -> Specifies the directory where the engine code is located, eg: $GOPATH/src/github.com/docker/docker
  • CLI_DIR -> Specifies the directory where the cli code is located, eg: $GOPATH/src/github.com/docker/cli
make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli rpm

Specifying a specific distro

make centos

Specifying a specific distro version

make centos-9

Building the for all distros

make rpm