Merge pull request #52959 from nlewo/runAsRootParentImage

dockerTools.example.runAsRootParentImage: init
This commit is contained in:
lewo
2018-12-29 12:56:47 +01:00
committed by GitHub

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