File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -171,12 +171,13 @@ RUN pip2 install pylint==1.9.2
171171RUN  pip2 install python-dateutil==2.7.3
172172
173173# ##
174- #  Install node.js for web UI framework (4.2.6  ships with Xenial )
174+ #  Install node.js for web UI framework (8.10.0  ships with Bionic, let's override with 10.x )
175175# ##
176- #  hadolint ignore=DL3008, DL3016
177- RUN  apt-get -q update \
178-     && apt-get install -y --no-install-recommends nodejs npm \
179-     && apt-get clean \
176+ RUN  curl -sL https://deb.nodesource.com/setup_10.x | bash -
177+ #  hadolint ignore=DL3008, DL3015
178+ RUN  apt-get install -y nodejs
179+ #  hadolint ignore=DL3016
180+ RUN  apt-get clean \
180181    && rm -rf /var/lib/apt/lists/* \
181182    && npm install npm@latest -g \
182183    && npm install -g jshint
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments