3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/docker
Antoine Eiche 35f205a4b6 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] 749d90e10f/image/spec/v1.1.md (combined-image-json--filesystem-changeset-format)
2017-09-23 13:17:07 +02:00
..
default.nix dockerTools.buildImage: Switch to the format image generated by Skopeo 2017-09-23 13:17:07 +02:00
detjson.py
examples.nix dockerTools.buildImageWithNixDb: populate the Nix Db of the image Nix store 2017-09-20 20:14:24 +02:00
pull.sh dockerTools.pullImage: change the docker deamon readiness mechanism 2017-09-04 10:52:16 +02:00
tarsum.go