mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
dockerTools: add an onTopOfPulledImage example
This allows to test if a pulled image can be updated by using our Docker tools.
This commit is contained in:
parent
7ec0471242
commit
e8f452f110
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user