8a8f6f61241aa5e30d3d317c5d225f46dd348608
If Windows updates are being applied via a RUN command in a docker build, the build will not stop if there was a failure in postRunProcessing. To enable this behavior, we explicitly set the exit code of the container to a failure if postRunProcessing fails during servicing container step. For completeness, also avoid running servicing operation if the original exit code of the container is non-zero so that original failure exit code does not get overwritten. Signed-off-by: Stefan J. Wernli <swernli@microsoft.com> Upstream-commit: 2266e7f2345c88a8e195fd959550d0d657bec843 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%