diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-08-27 11:02:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-08-27 12:20:44 +0200 |
commit | 2b7c89f4fcc5e1607e153939d54d32aeaf494ca9 (patch) | |
tree | 5d3758c60f3c1a7590bab497ea146234d0d09beb /gnu/tests | |
parent | b29d6abc8f0aa7cb358954d7f7a8d7ca49c29eea (diff) | |
download | guix-2b7c89f4fcc5e1607e153939d54d32aeaf494ca9.tar guix-2b7c89f4fcc5e1607e153939d54d32aeaf494ca9.tar.gz |
docker: Take a list of directives instead of a list of symlinks.
* guix/docker.scm (symlink-source, topmost-component): Remove.
(directive-file): New procedure.
(build-docker-image): Remove #:symlinks and add #:extra-files.
Make a sub-directory "extra" and call 'evaluate-populate-directive' for
EXTRA-FILES in that directory.
* guix/scripts/pack.scm (docker-image)[build](symlink->directives,
directives): New procedures.
Pass #:extra-files instead of #:symlinks to 'build-docker-image'.
Diffstat (limited to 'gnu/tests')
0 files changed, 0 insertions, 0 deletions