From: Romain GARBAGE <romain.garbage@inria.fr>
To: 75399@debbugs.gnu.org
Cc: ludovic.courtes@inria.fr, Romain GARBAGE <romain.garbage@inria.fr>
Subject: [bug#75399] [PATCH] guix: docker: Add history field to config.json.
Date: Mon, 6 Jan 2025 12:15:13 +0100 [thread overview]
Message-ID: <20250106111513.16611-1-romain.garbage@inria.fr> (raw)
* guix/docker.scm (config): Add history field.
Change-Id: If1d4e9e2ce7673588f9016b389e4c67afa7ac119
---
guix/docker.scm | 5 +++++
1 file changed, 5 insertions(+)
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
next reply other threads:[~2025-01-06 11:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-06 11:15 Romain GARBAGE [this message]
2025-01-07 18:14 ` bug#75399: [PATCH] guix: docker: Add history field to config.json Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250106111513.16611-1-romain.garbage@inria.fr \
--to=romain.garbage@inria.fr \
--cc=75399@debbugs.gnu.org \
--cc=ludovic.courtes@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).