fix(logger): remove logger-build container after "docker cp"

This works around docker/docker#8632 and an error in the Makefile evaluation order logic.

Closes #2167.