nixpkgs/pkgs/build-support
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
..
agda
build-dotnet-package buildDotnetPackage: don't depend on invalid quoting in makeWrapper 2017-03-27 18:24:08 +03:00
build-fhs-userenv build-fhs-userenv: Propagate $XAUTHORITY 2017-07-18 00:03:22 -07:00
buildenv buildenv: read propagated-user-env-packages line-by-line 2017-07-16 16:06:06 -05:00
cc-wrapper stdenv-setup and misc hooks: Work with bash-3.4 for MacOS nix-shell 2017-07-26 09:08:01 -04:00
docker dockerTools: fix image json and manifest 2017-08-03 11:52:03 +02:00
dotnetbuildhelpers Replace hard coded /bin/bash occurrences 2016-10-04 20:15:37 +02:00
dotnetenv
emacs emacsWithPackages: support installing larger packages 2017-05-29 12:56:09 +01:00
fetchadc lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchbower fetchbower: handle packages with slashes in their name 2017-07-27 21:18:43 +01:00
fetchbzr
fetchcvs
fetchdarcs fetchdarcs: Use NIX_SSL_CERT_FILE 2017-06-03 20:35:37 +01:00
fetchegg fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchfossil fetchfossil: Don't support MD5. 2016-08-21 11:53:40 -07:00
fetchgit Merge: more compatibility for git* fetchers 2017-07-09 10:31:24 +02:00
fetchgitlocal
fetchgitrevision
fetchgx ipfs: 0.4.6 -> 0.4.9 2017-05-24 16:31:17 +02:00
fetchhg fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchmavenartifact fetchMavenArtifact: init (#16825) 2016-07-19 09:48:36 +02:00
fetchmtn lib/fetchers.nix: factor out impure proxy vars (#18702) 2016-09-17 21:50:01 +02:00
fetchnuget fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchpatch fetchpatch: add excludes parameter 2017-07-26 13:32:59 +02:00
fetchrepoproject fetchRepoProject: typo 2017-03-27 15:04:02 +10:00
fetchs3 fetchs3: init simple S3 downloader 2017-04-25 22:01:32 -04:00
fetchsvn fetchsvn: set LC_ALL in builder to allow svn to handle unicode filenames 2017-06-04 13:41:28 +01:00
fetchsvnrevision
fetchsvnssh fetch-*: remove md5 support 2017-03-20 22:23:41 +01:00
fetchurl fetchurl: remove unpaired call to `stopNest' 2017-07-21 15:45:29 -05:00
fetchzip Fix #27448 argument list too long in fetchzip for darwin. 2017-07-17 11:23:20 -04:00
gcc-wrapper-old stdenv-setup and misc pkgs: Revert to space-deliminated propagated-* files 2017-07-26 09:07:55 -04:00
icon-conv-tools treewide: Add lots of meta.platforms 2016-08-02 21:42:43 +03:00
kernel make-initrd: Don't use stdenv.cross 2017-06-28 18:21:05 -04:00
libredirect libredirect: allow null paths 2017-05-24 11:29:06 -03:00
make-desktopitem chromium: add StartupWMClass to desktop file. Fixes #12433 2016-02-29 20:42:58 +01:00
make-startupitem make-autostartitem: Use the right path for storing the desktop files 2017-07-06 00:44:41 +02:00
make-symlinks
mono-dll-fixer treewide: Some EOF-whitespace fixes 2016-08-02 21:17:44 +03:00
nuke-references
ocaml OCaml modules: make explicit some dependencies to ocamlbuild 2016-10-09 11:55:19 +02:00
release Merge pull request #17681 from ericsagnes/feat/releaseTools.channel 2017-07-02 09:46:17 +01:00
remove-references-to Add removeReferencesTo for removing specific refs 2017-03-09 12:01:55 +00:00
rust rustRegistry: switch to mkDerivation 2017-06-25 11:56:29 +01:00
setup-hooks Add a setup hook to fill NIX_DEBUG_INFO_DIRS 2017-07-28 16:38:26 +02:00
singularity-tools singularity: init 2.2 2016-11-15 09:11:53 +11:00
src-only
substitute Add stdenvNoCC 2016-09-29 13:06:41 +02:00
substitute-files
templaterpm
upstream-updater Fix #4210: Remove builderDefs 2016-08-31 11:34:46 +02:00
vm makeImageFromDebDist: Add extraDebs arguments 2017-07-27 20:34:24 +02:00
vsenv
build-maven.nix build-maven: use lib.importJSON 2016-02-29 13:49:29 +00:00
build-pecl.nix
dhall-to-nix.nix Add a pkgs.dhallToNix utility 2017-01-26 20:11:49 -08:00
plugins.nix Ultrastar (#26524) 2017-06-14 11:29:31 +02:00
replace-dependency.nix replaceDependency: fix syntax error 2016-10-28 01:00:04 +02:00
setup-systemd-units.nix Add setupSystemdUnits function. 2017-03-24 15:47:51 -04:00
source-from-head-fun.nix
trivial-builders.nix stdenv-setup and misc pkgs: Revert to space-deliminated propagated-* files 2017-07-26 09:07:55 -04:00