dockerTools.examples.runAsRootParentImage: init

Example of running something as root on top of a parent image.
This is a regression test related to the PR #52109.
This commit is contained in:
Antoine Eiche 2018-12-27 11:10:53 +01:00
parent 9d9a993b73
commit 43cbba0274

View file

@ -176,4 +176,13 @@ rec {
];
};
};
# 12. example of running something as root on top of a parent image
# Regression test related to PR #52109
runAsRootParentImage = buildImage {
name = "runAsRootParentImage";
tag = "latest";
runAsRoot = "touch /example-file";
fromImage = bash;
};
}