[PATCH] guix: docker: Add history field to config.json.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • Romain GARBAGE
Owner
unassigned
Submitted by
Romain GARBAGE
Severity
normal

Debbugs page

R
R
Romain GARBAGE wrote 4 days ago
(address . guix-patches@gnu.org)
20250106111513.16611-1-romain.garbage@inria.fr
* guix/docker.scm (config): Add history field.

Change-Id: If1d4e9e2ce7673588f9016b389e4c67afa7ac119
---
guix/docker.scm | 5 +++++
1 file changed, 5 insertions(+)

Toggle diff (20 lines)
diff --git a/guix/docker.scm b/guix/docker.scm
index 1c6f59568f..b33c5824dd 100644
--- a/guix/docker.scm
+++ b/guix/docker.scm
@@ -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))))))

base-commit: 831b94a1efcea8f793afc949b5123a6235c9bb1a
--
2.46.0
L
L
Ludovic Courtès wrote 3 days ago
(name . Romain GARBAGE)(address . romain.garbage@inria.fr)(address . 75399-done@debbugs.gnu.org)
87r05exzi9.fsf@gnu.org
Romain GARBAGE <romain.garbage@inria.fr> skribis:

Toggle quote (4 lines)
> * guix/docker.scm (config): Add history field.
>
> Change-Id: If1d4e9e2ce7673588f9016b389e4c67afa7ac119

Pushed as e94d35e522aa10ab715b53bce91ed397f59b9bd9, thanks!
Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 75399@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75399
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch