diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2019-09-13 17:32:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-09-16 10:25:31 +0200 |
commit | 0074844366381e3056d09492b8b437836c7adb61 (patch) | |
tree | e8c52ffdf1be258555b26b85bcec6cce954053e9 /config-daemon.ac | |
parent | 9bbaf2ae72ce8457702f50277fee908d2c43d13c (diff) | |
download | patches-0074844366381e3056d09492b8b437836c7adb61.tar patches-0074844366381e3056d09492b8b437836c7adb61.tar.gz |
pack: Provide a meaningful "repository name" for Docker.
Previously, images produced by 'guix pack -f docker' would always show
up as "profile" in the output of 'docker images'. With this change,
'docker images' shows a name constructed from the packages found in the
image--e.g., "bash-coreutils-grep-sed".
* guix/docker.scm (canonicalize-repository-name): New procedure.
(generate-tag): Remove.
(manifest): Add optional 'tag' parameter and honor it.
(repositories): Likewise.
(build-docker-image): Add #:repository parameter and pass it to
'manifest' and 'repositories'.
* guix/scripts/pack.scm (docker-image)[build]: Compute 'tag' and pass it
as #:repository to 'build-docker-image'.
Diffstat (limited to 'config-daemon.ac')
0 files changed, 0 insertions, 0 deletions