thecodingmachine / docker-images-php

A set of PHP Docker images
MIT License
768 stars 137 forks source link

Install Node using the new method to avoid deprecation message delay #370

Closed dylanbr closed 9 months ago

dylanbr commented 9 months ago

Summary

NodeSource has deprecated the use of the installation script. It now results in a 60s timeout when building an image with Node included.

The new repo only has v16 and above, so the change only uses the new method for v16 and above. This means that the delay may still occur for v14 and below.

This PR fixes/implements :

Explain the motivation for making this change. What existing problem does the pull request solve?

Prevents a 60s wait when installing Node during builds.

Test plan (required)

Build the images for each Node version, and run node --version to check it is installed.

Checklist

mistraloz commented 9 months ago

Thx, i was plan to fix it today... but you already did the job :+1: But the generation of blueprint should be executed and joigned with the commit. May you execute make blueprint please ?

Orbit tool is required for that, but very easy to install https://github.com/gulien/orbit#install

mistraloz commented 9 months ago

I did it in #371 i will merge the other one when will be ok

dylanbr commented 9 months ago

Thanks for assisting in getting this complete!