mhart / alpine-node

Minimal Node.js Docker Images built on Alpine Linux
MIT License
2.45k stars 303 forks source link

Node version change? #152

Closed appetize-api closed 4 years ago

appetize-api commented 4 years ago

Hi there,

Been using mhart/alpine-node:10 in an internal pipeline and we started getting an error that this image now has node 10.22.

We were expecting 10.21. Did that change or am I looking at this wrong?

If that's the case, should I be using an official node image instead? Can someone chime in, please?

Thanks in advance.

mhart commented 4 years ago

Sorry what do you mean you got an error?

appetize-api commented 4 years ago

we have a project that is expecting engine "<=10.21.0". And this week it started acting out.

mhart commented 4 years ago

If you want to use 10.21 and only 10.21 then use mhart/alpine-node:10.21

appetize-api commented 4 years ago

The engine "node" is incompatible with this module. Expected version ">=10.12.0 <=10.21.0". Got "10.22.0"

appetize-api commented 4 years ago

I see.. so the tag 10 changes.. like a ^10... yes.. that'd explain it... thanks!

mhart commented 4 years ago

That's a super weird requirement for a project (because minor versions are backwards compatible). But if you have to stick to it, then specify it explicitly

appetize-api commented 4 years ago

Yup.... it is...

mhart commented 4 years ago

Cool, closing 👍