aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/kde-pim.scm
diff options
context:
space:
mode:
authorSören Tempel <soeren@soeren-tempel.net>2023-10-14 11:38:56 +0200
committerMathieu Othacehe <othacehe@gnu.org>2023-10-14 15:31:30 +0200
commit373ec2cf8ce97d5f89191c3d9211ee3a5c2067dc (patch)
tree9a352992c26bfebb51a1014807d158eda5349f3c /gnu/packages/kde-pim.scm
parente4fb70e2e87d8746d534ed295e79ab1ae3666a47 (diff)
downloadguix-373ec2cf8ce97d5f89191c3d9211ee3a5c2067dc.tar.gz
guix-373ec2cf8ce97d5f89191c3d9211ee3a5c2067dc.zip
pack: Allow setting a custom image tag for Docker images
Previously, the image repository name was automatically computed from the packages in the manifest without allowing the user to set a custom one. As such, changing the packages in the manifest would result in a new image name. Thereby requiring updating documentation et cetera when using `docker load` directory on the resulting image. Inspired by `docker build -t`, this commit adds a new Docker-specific option to `guix pack` which allows setting a custom repository name for the resulting image. If this option is not specified, pack falls back to computing the name from the manifest. Therefore, this change is entirely backwards compatible. * guix/scripts/pack.scm (guix-pack): Add --image-tag option. (%docker-format-options): New constant. (show-docker-format-options): New procedure. (show-docker-format-options/detailed): New procedure. (docker-image): Allow setting a custom repository name for the created docker image via extra-options. * doc/guix.texi (Invoking guix pack)[docker]: Document --image-tag option. Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages/kde-pim.scm')
0 files changed, 0 insertions, 0 deletions