• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..10-Apr-2019-

SPECS/H10-Apr-2019-250203

centos-7/H10-Apr-2019-2624

fedora-27/H10-Apr-2019-2422

fedora-28/H10-Apr-2019-2422

fedora-29/H10-Apr-2019-2422

MakefileH A D10-Apr-20193.6 KiB128108

README.mdH A D10-Apr-2019948 3323

gen-rpm-verH A D10-Apr-20192.7 KiB6938

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