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:
Antoine Eiche 2018-02-01 16:13:05 +01:00
parent 7ec0471242
commit e8f452f110

View File

@ -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 ];
};
}