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

[ERROR] Node.js XX on DebianXX Installation fail #1817

Open
SturdyStubs opened this issue Jul 31, 2024 · 0 comments
Open

[ERROR] Node.js XX on DebianXX Installation fail #1817

SturdyStubs opened this issue Jul 31, 2024 · 0 comments
Labels

Comments

@SturdyStubs
Copy link

SturdyStubs commented Jul 31, 2024

Describe your bug
NodeJS isn't properly installing with debian on github actions via dockerfile

Distribution Information:

  • OS: Debian 11

Node Version:

  • Node: Node.js v20

To Reproduce
Using Debian Bullseye-slim in github action to install node.js 20, it will error out

Expected behavior
It should properly install NodeJS without error

Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c echo "Fetching NodeSource GPG key..." && \t\tcurl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key -o /tmp/nodesource.gpg.key && \t\tcat /tmp/nodesource.gpg.key && \t\tgpg --no-tty --dearmor -o /etc/apt/keyrings/nodesource.gpg /tmp/nodesource.gpg.key && \t\trm /tmp/nodesource.gpg.key" did not complete successfully: exit code: 77

Dockerfile install section:
RUN dpkg --add-architecture i386
&& apt update
&& apt upgrade -y
&& apt install -y lib32gcc-s1 lib32stdc++6 unzip curl iproute2 tzdata libgdiplus libsdl2-2.0-0:i386
&& curl -sL https://deb.nodesource.com/setup_20.x | bash -
&& apt install -y nodejs
&& mkdir /node_modules
&& npm install --prefix / ws
&& useradd -d /home/container -m container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant