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

Obsolete NodeJS in docker contrainers #494

Open
AtomicFS opened this issue Jan 8, 2025 · 0 comments
Open

Obsolete NodeJS in docker contrainers #494

AtomicFS opened this issue Jan 8, 2025 · 0 comments
Labels
docker docker related feature New feature or request github_actions Pull requests that update GitHub Actions code javascript Pull requests that update Javascript code

Comments

@AtomicFS
Copy link
Collaborator

AtomicFS commented Jan 8, 2025

People need to run GitHub actions inside the containers. For edk2 we are maintaining some old containers to support old edk2 releases. This is problematic because these old containers have obsolete NodeJS version.

I'm trying to use [email protected] since v3 is deprecated, but it looks like the node version in our docker contains is too old. It cannot run the new code

It is possible to install up-to-date NodeJS with following:

curl -sL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
chmod +x nodesource_setup.sh
./nodesource_setup.sh
apt-get install nodejs -y
@AtomicFS AtomicFS added feature New feature or request docker docker related github_actions Pull requests that update GitHub Actions code javascript Pull requests that update Javascript code labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker docker related feature New feature or request github_actions Pull requests that update GitHub Actions code javascript Pull requests that update Javascript code
Projects
None yet
Development

No branches or pull requests

1 participant