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

Missing ARM32v6 platform for some Node.js 18 alpine tags #1772

Open
Hazmi35 opened this issue Sep 17, 2022 · 16 comments
Open

Missing ARM32v6 platform for some Node.js 18 alpine tags #1772

Hazmi35 opened this issue Sep 17, 2022 · 16 comments

Comments

@Hazmi35
Copy link

Hazmi35 commented Sep 17, 2022

Environment

  • Platform: arm32v6
  • Docker Version: 20.10.18
  • Node.js Version: 18.9.0
  • Image Tag: 18.9.0-alpine

Expected Behavior

ARM32v6 platform exists in all Node.js 18 alpine tags

Current Behavior

Some Node.js 18 alpine tags does not contain the ARM32v6 platforms

For example 18.9.0-alpine and 18.9-alpine does not contain ARM32v6 platforms, but 18-alpine does.

Additional Information

image
image
image

@Hazmi35 Hazmi35 changed the title Missing ARM32v6 platform for some Node.js 18 alpine tags Missing ARM32v6 platform for some Node.js 18-alpine tags Sep 17, 2022
@Hazmi35 Hazmi35 changed the title Missing ARM32v6 platform for some Node.js 18-alpine tags Missing ARM32v6 platform for some Node.js 18 alpine tags Sep 17, 2022
Hazmi35 added a commit to Hazmi35/docker-node that referenced this issue Sep 17, 2022
Reverted because the temp fix is done.

The problem:
The 18.9.0-alpine tag on the upstream image does not contain arm32v6 platform, but 18-alpine does.

I'll report this to Docker official-images team later. (Reported: nodejs/docker-node#1772)
@SimenB
Copy link
Member

SimenB commented Sep 17, 2022

@tianon @yosifkit any idea?


For example 8.9.0-alpine

I assume you mean 18 🙂

EDIT: actually, quite sure as that's what the screenshot shows 😀

@Hazmi35
Copy link
Author

Hazmi35 commented Sep 17, 2022

I assume you mean 18 🙂

Yes, sorry, it's edited now

@tianon
Copy link
Contributor

tianon commented Sep 19, 2022

From the logs, it looks like the build took so long it timed out -- I've given it another try now, and hopefully it works this time. (If it doesn't, we'll want to look into why this latest build of 18 is taking so much longer to build on this one architecture. 😅)

@tianon
Copy link
Contributor

tianon commented Sep 19, 2022

It took a very long time (almost two hours per build, compared to roughly half of one for previous builds of 18 on that same architecture 😩), but it's finally built successfully! Those builds should be pushed and available Soon. 👍

@Hazmi35
Copy link
Author

Hazmi35 commented Sep 27, 2022

Some Node.js 18 builds seems to be failed again, (ARM32v6 and ARM32v7?)

@tianon
Copy link
Contributor

tianon commented Sep 27, 2022

😩 indeed -- I wonder what's so different about these recent Node.js 18 releases that they're taking so much longer to build on 32bit ARM than the previous point releases did? 🤔

@SimenB
Copy link
Member

SimenB commented Sep 28, 2022

@nodejs/build ^ any ideas?

@richardlau
Copy link
Member

Are builds using compilation caches from previous builds (e.g. ccache)? If so any release with any sort of update to V8 (patches/backports etc) would potentially invalidate the cache for the bulk of the build.

@tianon
Copy link
Contributor

tianon commented Sep 28, 2022 via email

@Hazmi35
Copy link
Author

Hazmi35 commented Sep 29, 2022

ARM32v7 platform is also failing too now, 18.10.0-alpine doesn't have the same platforms as 18-alpine

@tianon
Copy link
Contributor

tianon commented Oct 3, 2022 via email

@sxa
Copy link
Member

sxa commented Oct 4, 2022

Side question (I'm curious!) what are people's use cases for Alpine on armv6l? I'd be surprised if there were many such systems out there that you'd want to run anything in docker containers onm but I guess if it's been noticed there is some demand for it.

@lucas42
Copy link

lucas42 commented Feb 27, 2023

Side question (I'm curious!) what are people's use cases for Alpine on armv6l?

@sxa My use case is that I've written a javascript-based music player. It mostly runs in the browser, but there's a few cases where I want to run it where there isn't a browser environment available. So I run the logic in node, deployed on a raspberry pi. In the past few years, raspberry pis have been in limited supply, meaning I have to make do with whichever model is available. Wrapping the code in docker generally makes it easy to deploy across most models of raspberry pi, but the differences in architecture means I do hit problems like this one now and again.

@pabl-o-ce
Copy link

someone create snowdreamtech/node:latest this give full support for arm32v6 please can you give official support :)

@tianon
Copy link
Contributor

tianon commented Sep 4, 2024

The Alpine variants of Node.js 18, 20, and 22 all have support for arm32v6 (see https://oci.dag.dev/?image=node:22-alpine for example).

@pabl-o-ce
Copy link

yeah I figure out! thank for the reply... the only thing I keep failing to install this package at arm32v6 RUN apk add --no-cache libc6-compat just to put a small nextjs web if anyone have any guide to do that happy to read it!

nevertheless thank u :)

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

No branches or pull requests

8 participants
@tianon @lucas42 @SimenB @pabl-o-ce @richardlau @sxa @Hazmi35 and others