Shrink dependencies image.