90ffcbe8d0
[master] deb,rpm: include dockerd man-page in docker-ce package |
||
---|---|---|
.. | ||
SPECS | ||
centos-9 | ||
centos-10 | ||
fedora-40 | ||
fedora-41 | ||
rhel-8 | ||
rhel-9 | ||
Makefile | ||
README.md | ||
gen-rpm-ver |
README.md
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