dockerTools: ensure runAsRoot script not optimized away in test
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
f4e4cac0c8
commit
eb38ad04ef
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@ let
|
|||
name = "repeated-layer-test";
|
||||
copyToRoot = pkgs.bash;
|
||||
# A runAsRoot script is required to force previous layers to be unpacked
|
||||
runAsRoot = "";
|
||||
runAsRoot = ''
|
||||
echo 'runAsRoot has run.'
|
||||
'';
|
||||
};
|
||||
in {
|
||||
name = "docker-tools";
|
||||
|
|
Loading…
Reference in a new issue