~ruther/guix-local

e94d35e522aa10ab715b53bce91ed397f59b9bd9 — Romain GARBAGE 1 year, 5 months ago a664265
docker: Add history field to config.json.

* guix/docker.scm (config): Add history field.

Change-Id: If1d4e9e2ce7673588f9016b389e4c67afa7ac119
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 5 insertions(+), 0 deletions(-)

M guix/docker.scm
M guix/docker.scm => guix/docker.scm +5 -0
@@ 135,6 135,11 @@ Return a version of TAG that follows these rules."
                       `((entrypoint . ,(list->vector entry-point)))
                       '())))
    (container_config . #nil)
    ;; Some container engines such as <https://github.com/cea-hpc/pcocc> require
    ;; these fields.
    (history . ,(list->vector `(((created . ,time)
                                 (created_by . "guix pack -f docker")
                                 (comment . "guix pack")))))
    (os . "linux")
    (rootfs . ((type . "layers")
               (diff_ids . ,(list->vector layers-diff-ids))))))