Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use microdnf for ubuntu images #9858

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

dimitropoulos
Copy link
Contributor

@dimitropoulos dimitropoulos commented Jan 31, 2025

Description

The pipeline using the amazon/aws-lambda-nodejs:20 image is failing.

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.

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]

Copy link

vercel bot commented Jan 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 31, 2025 0:42am

@dimitropoulos dimitropoulos merged commit d240f30 into main Jan 31, 2025
45 of 46 checks passed
@dimitropoulos dimitropoulos deleted the dimitri/fix-fix-ubuntu-turbo-repository branch January 31, 2025 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants