Replace `build_environment` by `build_image`