about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2017-09-22 08:55:24 +0200
committerRobin Gloster <mail@glob.in>2017-09-23 13:17:07 +0200
commit35f205a4b624bceca7c53b9c19ddac5f37a5ae4c (patch)
tree3bacdf5e47046518f0b7aa781de78df9364501f2 /pkgs/tools
parentf7d7c7bedfa54b97420b4b68980536cf5ba927ca (diff)
downloadnixlib-35f205a4b624bceca7c53b9c19ddac5f37a5ae4c.tar
nixlib-35f205a4b624bceca7c53b9c19ddac5f37a5ae4c.tar.gz
nixlib-35f205a4b624bceca7c53b9c19ddac5f37a5ae4c.tar.bz2
nixlib-35f205a4b624bceca7c53b9c19ddac5f37a5ae4c.tar.lz
nixlib-35f205a4b624bceca7c53b9c19ddac5f37a5ae4c.tar.xz
nixlib-35f205a4b624bceca7c53b9c19ddac5f37a5ae4c.tar.zst
nixlib-35f205a4b624bceca7c53b9c19ddac5f37a5ae4c.zip
dockerTools.buildImage: Switch to the format image generated by Skopeo
We were using 'Combined Image JSON + Filesystem Changeset Format' [1] to
unpack and pack image and this patch switches to the format used by the registry.

We used the 'repository' file which is not generated by Skopeo when it
pulls an image. Moreover, all information of this file are also in the
manifest.json file.
We then use the manifest.json file instead of 'repository' file. Note
also the manifest.json file is required to push an image with Skopeo.

Fix #29636

[1] https://github.com/moby/moby/blob/749d90e10f989802638ae542daf54257f3bf71f2/image/spec/v1.1.md#combined-image-json--filesystem-changeset-format
Diffstat (limited to 'pkgs/tools')
0 files changed, 0 insertions, 0 deletions