summaryrefslogtreecommitdiff
path: root/tests/base32.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2019-09-13 17:32:16 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-16 10:25:31 +0200
commit0074844366381e3056d09492b8b437836c7adb61 (patch)
treee8c52ffdf1be258555b26b85bcec6cce954053e9 /tests/base32.scm
parent9bbaf2ae72ce8457702f50277fee908d2c43d13c (diff)
downloadpatches-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 'tests/base32.scm')
0 files changed, 0 insertions, 0 deletions