nixpkgs/pkgs
Mathias Schreck 86d9b09c9b dockerTools: fix image json and manifest
The image json is not exactly the same as the layer json, therefore I
changed the implementation to use the `baseJson` which doesn’t include
layer specific details like `id`, `size` or the checksum of the layer.

Also the `history` entry was missing in the image json. I’m not totally
sure if this field is required, but a I got an error from a docker
registry when I’ve tried to receive the distribution manifest of an
image without those `history` entry:

GET: `http://<registry-host>/v2/<imageName>/manifests/<imageTag>`

```json
{
  "errors": [
    {
      "code": "MANIFEST_INVALID",
      "message": "manifest invalid",
      "detail": {}
    }
  ]
}
```

I’ve also used a while loop to iterate over all layers which should make
sure that the order of the layers is correct. Previously `find` was
used and I’m not sure if the order was always correct.
2017-08-03 11:52:03 +02:00
..
applications dropbox: 30.4.22 -> 31.4.24 2017-08-03 10:55:23 +08:00
build-support dockerTools: fix image json and manifest 2017-08-03 11:52:03 +02:00
common-updater common-updater-script: fix error handling 2017-05-19 17:14:43 +03:00
data lohit-fonts: add package description 2017-08-03 09:09:03 +02:00
desktops gnome3: Remove myself from maintainer list 2017-08-02 18:21:50 +02:00
development intltool: fix url 2017-08-03 10:18:19 +02:00
games pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
misc Merge pull request #27838 from sauyon/numix-sx 2017-08-03 07:09:49 +01:00
os-specific pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
servers varnish: Update to 5.1.2: https://varnish-cache.org/security/VSV00001.html 2017-08-02 12:48:05 +00:00
shells pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
stdenv Merge remote-tracking branch 'upstream/master' into staging-base 2017-07-26 13:46:04 -04:00
test Remove cruft 2016-04-26 17:31:54 +02:00
tools envoy: init at 1.3.0 2017-08-03 00:38:33 -04:00
top-level Merge pull request #27629 from cstrahan/envoy-staged 2017-08-03 03:31:53 -04:00