[build]support build image size check