feat(logger): image without development libraries to reduce the size.

replaces #2035.