1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/build-support
Brian McKenna ebb911cc0b dockerTools: remove tarballs functionality
I think the intention of this functionality was to provide a simple
alternative to the "runAsRoot" and "contents" attributes.

The implementation caused very slow builds of Docker images. Almost all
of the build time was spent in IO for tar, due to tarballs being
created, immediately extracted, then recreated. I had 30 minute builds
on some of my images which are now down to less than 2 minutes. A couple
of other users on #nix IRC have observed similar improvements.

The implementation also mutated the produced Docker layers without
changing their hashes. Using non-empty tarballs would produce images
which got cached incorrectly in Docker.

I have a commit which just fixes the performance problem but I opted to
completely remove the tarball feature after I found out that it didn't
correctly implement the Docker Image Specification due to the broken
hashing.
2016-04-11 16:32:43 +10:00
..
agda
build-dotnet-package
build-fhs-chrootenv buildFHSEnv: add standard paths for compilers 2016-03-15 19:44:42 +03:00
build-fhs-userenv userFHSEnv: add passthru, rename meta 2016-04-03 04:19:58 +03:00
buildenv buildEnv: Pass the right number of args to addPkg 2016-01-28 14:50:44 +01:00
builder-defs
cc-wrapper cc-wrapper: Fix a typo in param parsing (close #14401) 2016-04-02 20:51:48 +02:00
docker dockerTools: remove tarballs functionality 2016-04-11 16:32:43 +10:00
dotnetbuildhelpers Remove all-packages.nix helperFunctions dependency. 2016-03-20 16:41:20 +00:00
dotnetenv
emacs emacsWithPackages: reduce some duplication 2016-04-03 21:21:50 +02:00
fetchadc
fetchbower bower2nix: 2.1.0 -> 3.0.1 2016-03-28 08:23:06 +01:00
fetchbzr
fetchcvs
fetchdarcs
fetchegg
fetchfile
fetchgit nix-prefetch-git: fix url_to_name heuristic 2016-03-23 11:22:51 +00:00
fetchgitlocal fetchgitlocal: be less chatty 2016-02-01 10:57:01 -08:00
fetchgitrevision
fetchhg nix-prefetch-hg: Various bash style improvements, fixes #9511 2016-02-17 00:35:30 +01:00
fetchmtn
fetchnuget
fetchpatch
fetchsvn
fetchsvnrevision
fetchsvnssh
fetchurl fetchurlBoot: Use Nix's builtin fetchurl function 2016-02-27 20:27:24 +01:00
fetchzip Merge pull request #8576 from obadz/nix-prefetch-zip 2016-02-26 00:57:30 +00:00
gcc-cross-wrapper
gcc-wrapper-old cc-wrapper: fix #10574: old gcc -> cc fallout 2016-02-05 14:05:14 +01:00
grsecurity Merge remote-tracking branch 'origin/staging' 2016-03-27 13:19:04 +01:00
kdewrapper
kernel makeModulesClosure: Small cleanup 2016-02-01 18:19:23 +01:00
libredirect
make-desktopitem chromium: add StartupWMClass to desktop file. Fixes #12433 2016-02-29 20:42:58 +01:00
make-startupitem
make-symlinks
mono-dll-fixer
nuke-references
ocaml Ensure that we can evaluate the platform attribute of ocaml packages. 2016-03-13 19:08:26 +00:00
release build-support/source-tarball.nix: fix syntax highlighting in Emacs 2016-01-26 14:03:06 +01:00
rust fetch-cargo-deps: factor into fetchCargoDeps function 2016-02-25 14:05:44 +03:00
setup-hooks useOldCXXAbi: Change into a setup hook 2016-04-01 13:36:59 +02:00
src-only
substitute
substitute-files
templaterpm
upstream-updater
vm vmTools: update debian jessie 8.3 -> 8.4 2016-04-05 14:32:04 +02:00
vsenv
build-maven.nix build-maven: use lib.importJSON 2016-02-29 13:49:29 +00:00
build-pecl.nix
replace-dependency.nix
source-from-head-fun.nix
trivial-builders.nix symlinkJoin: preferLocalBuild && !allowSubstitutes 2016-03-11 15:59:18 +01:00