Merge pull request #2377 from rn/docs

docs: Clarify restrictions for packages builds/signing
This commit is contained in:
Rolf Neugebauer 2017-08-07 22:19:26 +01:00 committed by GitHub
commit 1c29f89b0e

View File

@ -46,6 +46,11 @@ To build a package on an architecture:
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:
- Build a local images as `linuxkit/<image>:<hash>-<arch>`
- Push it to hub