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

Noudesource.com deprecation warning makes build slow #53

Open
augusto-herrmann opened this issue Feb 14, 2024 · 0 comments
Open

Noudesource.com deprecation warning makes build slow #53

augusto-herrmann opened this issue Feb 14, 2024 · 0 comments

Comments

@augusto-herrmann
Copy link
Member

Overview

The current build process uses a script hosted in noudesource.com to install Node.js, which is deprecated, generates a warning, and adds a whole minute of wait to the build process:

  #9 [4/4] RUN   curl -fsSL https://deb.nodesource.com/setup_16.x | bash - &&   apt-get install -y nodejs &&   npm install --omit dev &&   pip install -r requirements.txt
  #9 0.227 
  #9 0.227 ================================================================================
  #9 0.227 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  #9 0.227 ================================================================================
  #9 0.227 
  #9 0.227                            SCRIPT DEPRECATION WARNING                    
  #9 0.227 
  #9 0.227   
  #9 0.227   This script, located at https://deb.nodesource.com/setup_X, used to
  #9 0.227   install Node.js is deprecated now and will eventually be made inactive.
  #9 0.227 
  #9 0.227   Please visit the NodeSource distributions Github and follow the
  #9 0.227   instructions to migrate your repo.
  #9 0.227   https://github.com/nodesource/distributions
  #9 0.227 
  #9 0.227   The NodeSource Node.js Linux distributions GitHub repository contains
  #9 0.227   information about which versions of Node.js and which Linux distributions
  #9 0.227   are supported and how to install it.
  #9 0.227   https://github.com/nodesource/distributions
  #9 0.227 
  #9 0.227 
  #9 0.227                           SCRIPT DEPRECATION WARNING
  #9 0.227 
  #9 0.227 ================================================================================
  #9 0.227 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  #9 0.227 ================================================================================
  #9 0.227 
  #9 0.227 TO AVOID THIS WAIT MIGRATE THE SCRIPT
  #9 0.227 Continuing in 60 seconds (press Ctrl-C to abort) ...
  #9 0.227 
  #9 60.23 
  #9 60.23 ## Installing the NodeSource Node.js 16.x repo...

This should be migrated to avoid breaking the build in the future and also to skip this 60 second wait.

It seems like a similar problem has happened before (#47), but new action is required.

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

1 participant