lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
240 stars 79 forks source link

update node.js install in docker build #1065

Closed abandoned-prototype closed 2 months ago

abandoned-prototype commented 1 year ago

What issue are you seeing?

When building the docker image the following message appears:

================================================================================
#7 3.257 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
#7 3.257 ================================================================================
#7 3.257 
#7 3.257                            SCRIPT DEPRECATION WARNING                    
#7 3.257 
#7 3.257   
#7 3.257   This script, located at https://deb.nodesource.com/setup_X, used to
#7 3.257   install Node.js is deprecated now and will eventually be made inactive.
#7 3.257 
#7 3.257   Please visit the NodeSource distributions Github and follow the
#7 3.257   instructions to migrate your repo.
#7 3.257   https://github.com/nodesource/distributions
#7 3.257 
#7 3.257   The NodeSource Node.js Linux distributions GitHub repository contains
#7 3.257   information about which versions of Node.js and which Linux distributions
#7 3.257   are supported and how to install it.
#7 3.257   https://github.com/nodesource/distributions
#7 3.257 
#7 3.257 
#7 3.257                           SCRIPT DEPRECATION WARNING
#7 3.257 
#7 3.257 ================================================================================

our dockerfile loads a script from https://deb.nodesource.com/setup_16.x to install node.js The https://github.com/nodesource/distributions site seems to have the new way to install node.js

sea-kelp commented 10 months ago

We fixed this in https://github.com/OrcaCollective/OpenOversight/pull/362

michplunkett commented 2 months ago

Gonna take away the need for Node.js by removing Bootstrap3.