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
commit bb86d0ca24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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