all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Hiller <thrilleratplay@gmail.com>
To: 47525@debbugs.gnu.org
Cc: piotr.krol@3mdeb.com
Subject: bug#47525: docker layer DiffID incorrect
Date: Wed, 31 Mar 2021 12:55:17 -0400	[thread overview]
Message-ID: <858efb67-1d3c-9dfc-361f-b19fefe6a1f0@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 650 bytes --]

The Docker image created using "guix pack -f Docker" generates the 
sha256 checksum of config.json as the layer diff id used in 
manifiest.json, repositories and the parent directory name of 
layer.tar.  When extracting the contents of the Docker image, the sha256 
checksum of config.json does not match the used for the layer.  As 
Docker currently does not seem to verify this, the image will still work 
but may not always be the case.


I am not familiar with Guile Scheme, but as best as I can determine in 
guix/gnu/services/docker.scm the checksum calculated in layer-diff-idis 
the of Scheme native. and not the ultimate JSON document.**


[-- Attachment #2: Type: text/html, Size: 1361 bytes --]

                 reply	other threads:[~2021-03-31 19:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=858efb67-1d3c-9dfc-361f-b19fefe6a1f0@gmail.com \
    --to=thrilleratplay@gmail.com \
    --cc=47525@debbugs.gnu.org \
    --cc=piotr.krol@3mdeb.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.