mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
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>
This commit is contained in:
parent
a6642650a7
commit
e94d35e522
1 changed files with 5 additions and 0 deletions
|
@ -135,6 +135,11 @@ (define* (config layers-diff-ids time arch #:key entry-point (environment '()))
|
|||
`((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))))))
|
||||
|
|
Loading…
Reference in a new issue