Node setup is deprecated
Problem to solve
#6 [3/3] RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -qq -y nodejs
#6 0.329
#6 0.329 ================================================================================
#6 0.329 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
#6 0.329 ================================================================================
#6 0.329
#6 0.329 SCRIPT DEPRECATION WARNING
#6 0.329
#6 0.329
#6 0.329 This script, located at https://deb.nodesource.com/setup_X, used to
#6 0.329 install Node.js is deprecated now and will eventually be made inactive.
#6 0.330
#6 0.330 Please visit the NodeSource distributions Github and follow the
#6 0.330 instructions to migrate your repo.
#6 0.330 https://github.com/nodesource/distributions
#6 0.330
#6 0.330 The NodeSource Node.js Linux distributions GitHub repository contains
#6 0.330 information about which versions of Node.js and which Linux distributions
#6 0.330 are supported and how to install it.
#6 0.330 https://github.com/nodesource/distributions
#6 0.330
#6 0.330
#6 0.330 SCRIPT DEPRECATION WARNING
#6 0.330
#6 0.330 ================================================================================
#6 0.330 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
#6 0.330 ================================================================================
#6 0.330
#6 0.330 TO AVOID THIS WAIT MIGRATE THE SCRIPT
#6 0.330 Continuing in 60 seconds (press Ctrl-C to abort) ...
Should be upgraded for both the devcontainer and the Dockerfile.
I already did this for the devcontainer in !206 (merged)
Proposal
See https://deb.nodesource.com/
Documentation
Edited by Gijs Alberts