Commit d240f30
authored
fix: use microdnf for ubuntu images (vercel#9858)
### Description
The pipeline using the `amazon/aws-lambda-nodejs:20` image [is
failing](https://github.com/vercel/turborepo/actions/runs/13063935350/job/36452835658).
This is because:
> The Amazon Linux 2023 minimal image uses microdnf as package manager,
symlinked as dnf, replacing yum in AL2-based images. Additionally, curl
and gnupg2 are also included as their minimal versions curl-minimal and
gnupg2-minimal.
> -
https://aws.amazon.com/blogs/compute/node-js-20-x-runtime-now-available-in-aws-lambda
### Testing Instructions
```
docker pull amazon/aws-lambda-nodejs:20
docker run --interactive --tty --rm --entrypoint /bin/sh amazon/aws-lambda-nodejs:20
```
then run
```
microdnf install -y gcc gcc-c++ git
curl https://sh.rustup.rs -sSf | bash -s -- -y
npm i -g pnpm@8.9.0
```1 parent 8a2a1c1 commit d240f30
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments