Skip to content

Commit d240f30

Browse files
fix: use microdnf for ubuntu images (#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 [email protected] ```
1 parent 8a2a1c1 commit d240f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/turborepo-library-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
target: "x86_64-unknown-linux-gnu"
3636
container: amazon/aws-lambda-nodejs:20
3737
install: |
38-
yum install -y gcc gcc-c++ git
38+
microdnf install -y gcc gcc-c++ git
3939
curl https://sh.rustup.rs -sSf | bash -s -- -y
4040
4141
setup: |

0 commit comments

Comments
 (0)