dotcloud/docker — pull request #6451 by cyphar (2014-06-16 14:31:31+00:00)
Title: Ensure that ONBUILD triggers aren't committed to grandchildren

This patch fixes the bug where ONBUILD triggers are committed each build
step created during the ONBUILD trigger execution, since the triggers are
only wiped *after* all ONBUILD trigger steps have been committed. This was
fixed by simply copying the ONBUILD triggers and wiping the config
*before* committing anything.

Fixes #6445.

Docker-DCO-1.1-Signed-off-by: Aleksa Sarai (github: cyphar)