Support 'expose' in image building