-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
build: update Dockerfile -- Outdated Node version v14 --> v18 #7610
Conversation
node v14 is no longer maintained. Update node to current LTS version.
🦋 Changeset detectedLatest commit: eef4f89 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for car-park-attendant-cleat-11576 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
We already build a node 18 image. Seems the docs need updating though 😅 |
@mmaietta ok, thanks Mike. I'll check and update my scripts with that container. |
@mmaietta should we not update the latest tag with the current Node LTS version? And in reverse make v14 or v16 available as tags |
While I agree that we should, I don't think that's a backward-compatible change. That being said, I'm not sure how to handle semver tagging with docker images. Right now it just uses the month+year+node version due to historical purposes. What would you advise as the best practice here? |
@mmaietta I'm confused what you mean. I see in the build.sh its doing multiple tags here but the one I'm concerned with is line 10. You can see that its double tagging v14 as also 'latest' which is the default that will pull if you just use # Node 14
docker build --build-arg NODE_VERSION=14.19.3 -t electronuserland/builder:14 -t "electronuserland/builder:14-$DATE" -t electronuserland/builder:latest docker/node |
Use the reverse ordering so that the LTS is always going to be the image tagged as 'latest' or 'wine'
make latest agree with node Dockerfile
With these changes, I'm proposing that we always tag the |
Makes sense, I'm in favor 🙂 Linux tests are failing though with
|
Thanks for the catching that typo 🙏 |
Alright, finally got the docker images building (something weird with Going to see if we can update |
node v14 is no longer maintained. Update node to current LTS version.