chrismld / aws-batch-101

AWS Batch 101
18 stars 26 forks source link

Still compatable? #1

Open StuShepherdUK opened 3 years ago

StuShepherdUK commented 3 years ago

Good morning, Thank you for your detailed guide, been very handy in understanding the basics of AWS Batch.

Appreciate this is quite an old demo (3 years) and you may no longer support it.

Have just deployed your demo, as-is, only changing the bucket name within the variable and the function failed with a golang script error (assuming within your Docker).

standard_init_linux.go:219: exec user process caused: exec format error

Thank you

hkc-8010 commented 1 year ago

Try building the docker image by setting the platform as amd4_linux and it should resolve the issue.

docker build --platform linux/amd64 -t christianhxc/aws-batch-101:latest .