system: Add "guix system docker-image" command.
authorChris Marusich <cmmarusich@gmail.com>
Mon, 19 Feb 2018 04:45:03 +0000 (05:45 +0100)
committerChris Marusich <cmmarusich@gmail.com>
Sat, 24 Mar 2018 02:04:11 +0000 (03:04 +0100)
commita335f6fcc9aac1afb49a562968107abf7c87e631
tree5ce5e35f946f8b6107d36f6a89ebf749a274fc42
parent1c2ac6b482ea20419e57fd54b0cd1d4d3972776b
system: Add "guix system docker-image" command.

* gnu/system/vm.scm (system-docker-image): New procedure.
* guix/scripts/system.scm (system-derivation-for-action): Add a case for
  docker-image, and in that case, call system-docker-image.
  (show-help): Document docker-image.
  (guix-system): Parse arguments for docker-image.
* doc/guix.texi (Invoking guix system): Document "guix system
  docker-image".
* gnu/system/examples/docker-image.tmpl: New file.
doc/guix.texi
gnu/system/examples/docker-image.tmpl [new file with mode: 0644]
gnu/system/vm.scm
guix/scripts/system.scm