diff options
author | Matej Cotman <cotman.matej@gmail.com> | 2017-05-26 18:06:24 +0200 |
---|---|---|
committer | Matej Cotman <cotman.matej@gmail.com> | 2017-05-26 18:48:16 +0200 |
commit | 8d3cb0af9e24b867df45fc7f35eddbf3e4449404 (patch) | |
tree | cef214c5664e98e64ac9dd0a9c58129e5382df21 /pkgs/build-support/docker/examples.nix | |
parent | e284740dd5265a8f30699692aa1bb59df5dfb9d6 (diff) | |
download | nixpkgs-8d3cb0af9e24b867df45fc7f35eddbf3e4449404.tar nixpkgs-8d3cb0af9e24b867df45fc7f35eddbf3e4449404.tar.gz nixpkgs-8d3cb0af9e24b867df45fc7f35eddbf3e4449404.tar.bz2 nixpkgs-8d3cb0af9e24b867df45fc7f35eddbf3e4449404.tar.lz nixpkgs-8d3cb0af9e24b867df45fc7f35eddbf3e4449404.tar.xz nixpkgs-8d3cb0af9e24b867df45fc7f35eddbf3e4449404.tar.zst nixpkgs-8d3cb0af9e24b867df45fc7f35eddbf3e4449404.zip |
docker tools: fix pull image function
Diffstat (limited to 'pkgs/build-support/docker/examples.nix')
-rw-r--r-- | pkgs/build-support/docker/examples.nix | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix index 05b4a9b4f2d..49cbb7a9817 100644 --- a/pkgs/build-support/docker/examples.nix +++ b/pkgs/build-support/docker/examples.nix @@ -83,16 +83,12 @@ rec { }; # 4. example of pulling an image. could be used as a base for other images - # - # ***** Currently broken, getting 404s. Perhaps the docker API has changed? - # - # - # debian = pullImage { - # imageName = "debian"; - # imageTag = "jessie"; - # # this hash will need change if the tag is updated at docker hub - # sha256 = "18kd495lc2k35h03bpcbdjnix17nlqbwf6nmq3sb161blf0dk14q"; - # }; + nix = pullImage { + imageName = "nixos/nix"; + imageTag = "1.11"; + # this hash will need change if the tag is updated at docker hub + sha256 = "1gk4bq05vl3rj3mh4mlbl4iicgndmimlv8jvkhdk4hrv0r44bwr3"; + }; # 5. example of multiple contents, emacs and vi happily coexisting editors = buildImage { |