Commit 0822432
committed
chore(lambda-layer): install rustup in AL2 image for libcst source build
libcst >=1.8 only ships aarch64 wheels for manylinux_2_28+. On Amazon
Linux 2 (glibc 2.26) pip falls back to building from source, which now
needs cargo (libcst is partly Rust). Install rustup with the minimal
profile so the source build can proceed.
AL2023 (used for py3.12+) ships glibc 2.34 and uses the prebuilt wheel,
so Dockerfile.al2023 is unaffected.1 parent 0dcb4da commit 0822432
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
44 | 51 | | |
45 | 52 | | |
46 | 53 | | |
| |||
0 commit comments