Pedram Navid
04/19/2023, 5:52 PMrust_target: [x86_64-unknown-linux-gnu, x86_64-unknown-linux-musl, x86_64-pc-windows-gnu, aarch64-unknown-linux-gnu, riscv64gc-unknown-linux-gnu]
jordan
04/19/2023, 6:10 PMThere are 2 architectures available for the Amazon ECS task definition, ARM and X86_64.
When you run Windows containers on AWS Fargate, you must have the X86_64 CPU architecture.
When you run Linux containers on AWS Fargate, you can use the X86_64 CPU architecture, or the ARM64 architecture for your ARM-based applications.if you’re running on top of our base image, i’m guessing
x86_64-unknown-linux-gnu
should probably work but i can confirmShalabh Chaturvedi
04/19/2023, 6:56 PMx86_64-unknown-linux-gnu
. I believe x86_64-unknown-linux-musl
should also work.Pedram Navid
04/19/2023, 7:00 PMShalabh Chaturvedi
04/19/2023, 7:02 PMpython:3.x-slim
docker images. Here's the definition for 3.8-slim: https://github.com/docker-library/python/blob/cf20bfd43383845a80e52e2c54694cc0b716fae3/3.8/slim-bullseye/Dockerfile
These are based on debian and should include glibc (gnu). IIRC debian also includes musl by default but I didn't see it in the dockerfile here so slightly less confident about that.