Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 10-Apr-2019 | - | ||||
SPECS/ | H | 10-Apr-2019 | - | 250 | 203 | |
centos-7/ | H | 10-Apr-2019 | - | 26 | 24 | |
fedora-27/ | H | 10-Apr-2019 | - | 24 | 22 | |
fedora-28/ | H | 10-Apr-2019 | - | 24 | 22 | |
fedora-29/ | H | 10-Apr-2019 | - | 24 | 22 | |
Makefile | H A D | 10-Apr-2019 | 3.6 KiB | 128 | 108 | |
README.md | H A D | 10-Apr-2019 | 948 | 33 | 23 | |
gen-rpm-ver | H A D | 10-Apr-2019 | 2.7 KiB | 69 | 38 |
README.md
1# Building your own Docker rpm package 2 3`.rpm` packages can be built from this directory with the following syntax 4 5```shell 6make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli rpm 7``` 8 9Artifacts will be located in `rpmbuild` under the following directory structure: 10`rpmbuild/$distro-$distro_version/` 11 12### NOTES: 13* `ENGINE_DIR` -> Specifies the directory where the engine code is located, eg: `$GOPATH/src/github.com/docker/docker` 14* `CLI_DIR` -> Specifies the directory where the cli code is located, eg: `$GOPATH/src/github.com/docker/cli` 15 16## Specifying a specific distro 17 18```shell 19make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli fedora 20``` 21 22## Specifying a specific distro version 23```shell 24make ENGINE_DIR=/path/to/engine CLI_DIR=/path/to/cli fedora-25 25``` 26 27## Building the latest docker-ce 28 29```shell 30git clone https://github.com/docker/docker-ce.git 31make ENGINE_DIR=docker-ce/components/engine CLI_DIR=docker-ce/components/cli rpm 32``` 33