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 agda: Remove unused/uneeded abstractions, including postprocess 2015-05-31 01:55:10 +00:00
build-dotnet-package build-dotnet-package: add optional makeWrapperArgs argument 2015-10-29 06:02:18 +03:00
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 Don't fail if env-vars cannot be written to 2015-11-04 16:32:59 +01:00
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 Remove executable bits from non-executable files 2015-01-27 18:54:38 +01:00
emacs emacsWithPackages: reduce some duplication 2016-04-03 21:21:50 +02:00
fetchadc Add Apple command-line tools 2014-10-02 06:50:09 +01:00
fetchbower bower2nix: 2.1.0 -> 3.0.1 2016-03-28 08:23:06 +01:00
fetchbzr nix-prefetch-bzr: match path name to fetchbzr name 2015-12-19 09:32:22 -06:00
fetchcvs build-support: Fix nix-prefetch-* on OS X. 2014-08-27 11:22:34 +02:00
fetchdarcs fetchbzr, fetchdarcs, fetchhg: use rev attr 2014-06-28 21:06:10 +02:00
fetchegg Infrastructure to build chicken eggs. 2014-10-13 23:29:27 +02:00
fetchfile Update builder.sh 2015-11-25 17:14:03 +08:00
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 Fix a few typos 2013-08-11 10:55:53 +00:00
fetchnuget fetchnuget: run fixupPhase to honor propagatedBuildInputs 2015-06-12 17:13:21 +02:00
fetchpatch fetchpatch: Allow to pass a postFetch attribute. 2015-06-23 03:35:30 +02:00
fetchsvn fetchsvn: correctly handle trailing slashes 2015-12-06 11:49:51 -06:00
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 orig-gcc -> orig-cc 2015-03-04 22:15:46 +01:00
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 Another attempt to eradicate ensureDir 2014-06-30 14:56:10 +02:00
kernel makeModulesClosure: Small cleanup 2016-02-01 18:19:23 +01:00
libredirect citrix-receiver: init at 13.2.1, fixes #8458 2015-11-11 22:27:15 +01:00
make-desktopitem chromium: add StartupWMClass to desktop file. Fixes #12433 2016-02-29 20:42:58 +01:00
make-startupitem Another attempt to eradicate ensureDir 2014-06-30 14:56:10 +02:00
make-symlinks
mono-dll-fixer
nuke-references nuke-references: support -e option 2015-10-18 18:41:11 +03:00
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 substituteAllFiles: support postInstall 2016-01-10 06:03:26 +03:00
templaterpm Update: new features for nix-template-rpm 2015-02-06 20:12:57 +01:00
upstream-updater update-walker: add a minimal description 2016-01-01 19:07:38 +01:00
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 fix phpPackages memcache,memcached,xdebug 2015-02-05 20:28:16 +01:00
replace-dependency.nix replace-dependency.nix: Remove unnecessary carriage return. 2015-11-16 17:52:12 -05:00
source-from-head-fun.nix Remove getConfig helper function 2012-09-19 13:56:56 -04:00
trivial-builders.nix symlinkJoin: preferLocalBuild && !allowSubstitutes 2016-03-11 15:59:18 +01:00