Defining functions with image_file doesn't work when the execution_mode is batch.

Two possible solutions may be uploading the image to a private ECR registry and granting permissions for pulling it from Batch or copying the image to a S3 bucket and downloading and loading it from the compute environment launch template.
Defining functions with
image_filedoesn't work when theexecution_modeisbatch.Two possible solutions may be uploading the image to a private ECR registry and granting permissions for pulling it from Batch or copying the image to a S3 bucket and downloading and loading it from the compute environment launch template.