summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorlewo <lewo@abesis.fr>2018-03-13 13:34:25 +0100
committerGitHub <noreply@github.com>2018-03-13 13:34:25 +0100
commita682ba23d49cd13c92922af3d5dc44efd60ae9e7 (patch)
treed20b7d357325b5d6738b073392e066c6234b9053 /pkgs
parent54ade273e7a677ec35e501174d86d253d9d8dede (diff)
parentbc1e8f95d4c20c996ca14f39331fe23cbb3ffe2c (diff)
downloadnixlib-a682ba23d49cd13c92922af3d5dc44efd60ae9e7.tar
nixlib-a682ba23d49cd13c92922af3d5dc44efd60ae9e7.tar.gz
nixlib-a682ba23d49cd13c92922af3d5dc44efd60ae9e7.tar.bz2
nixlib-a682ba23d49cd13c92922af3d5dc44efd60ae9e7.tar.lz
nixlib-a682ba23d49cd13c92922af3d5dc44efd60ae9e7.tar.xz
nixlib-a682ba23d49cd13c92922af3d5dc44efd60ae9e7.tar.zst
nixlib-a682ba23d49cd13c92922af3d5dc44efd60ae9e7.zip
Merge pull request #36352 from nlewo/pr-onTopOfPulledImage
Add dockerTools test: on top of pulled image
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/docker/examples.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix
index 691d4bb74dbf..315440349b6b 100644
--- a/pkgs/build-support/docker/examples.nix
+++ b/pkgs/build-support/docker/examples.nix
@@ -116,4 +116,12 @@ rec {
       Env = [ "NIX_PAGER=cat" ];
     };
   };
+
+  # 7. example of adding something on top of an image pull by our
+  # dockerTools chain.
+  onTopOfPulledImage = buildImage {
+    name = "onTopOfPulledImage";
+    fromImage = nixFromDockerHub;
+    contents = [ pkgs.hello ];
+  };
 }