.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/
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
make centos
make centos-9
make rpm