me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/doc
Sören Tempel 373ec2cf8c
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>
2023-10-14 15:31:30 +02:00
..
images
build.scm gnu: Rationalize texlive-updmap.cfg and texlive-tiny inputs. 2023-07-18 18:16:47 +02:00
contributing.texi doc: Suggest keeping record type descriptors private. 2023-10-05 23:14:54 +02:00
environment-gdb.scm doc: Update GDB "guix shell" example to use autoconf-2.69 2023-07-18 00:41:15 +02:00
fdl-1.3.texi
guix-cookbook.texi doc: cookbook: Add “Software Development” chapter. 2023-10-11 23:16:20 +02:00
guix.texi pack: Allow setting a custom image tag for Docker images 2023-10-14 15:31:30 +02:00
he-config-bare-bones.scm
htmlxref.cnf
local.mk doc: Fix a potential problem in man page generation rule. 2023-08-29 14:52:21 -04:00
package-hello.json
package-hello.scm