docs: Clarify restrictions for packages builds/signing

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2017-08-07 20:36:25 +01:00
parent e61794a344
commit 6c6a89f5fa

View File

@ -46,6 +46,11 @@ To build a package on an architecture:
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE="<passphrase>" make DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE="<passphrase>" make
``` ```
**Note:** You *must* be logged into hub (`docker login`) and the
passphrase for the key *must* be supplied as an environment
variable. The build process has to resort to using `expect` to drive
`notary` so none of the credentials can be entered interactively.
This will: This will:
- Build a local images as `linuxkit/<image>:<hash>-<arch>` - Build a local images as `linuxkit/<image>:<hash>-<arch>`
- Push it to hub - Push it to hub