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" ];
|
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…
x
Reference in New Issue
Block a user