mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-03 16:07:43 +00:00
linuxkit: allow user to configure a content trust passphrase command
Could be e.g.: ``` pkg: content-trust-passphrase-command: "lpass show <key> --password" ``` or ``` pkg: content-trust-passphrase-command: "gpg -d ~/.notary/passphrase.gpg" ``` Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
@@ -94,6 +94,11 @@ invoke the build like this (for LastPass):
|
||||
```
|
||||
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE=$(lpass show <key> --password) linuxkit pkg push «path-to-package»
|
||||
```
|
||||
or alternatively you may add the command to `~/.moby/linuxkit/config.yml` e.g.:
|
||||
```
|
||||
pkg:
|
||||
content-trust-passphrase-command: "lpass show <key> --password"
|
||||
```
|
||||
|
||||
### Build packages as a developer
|
||||
|
||||
|
Reference in New Issue
Block a user