File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,13 @@ RUN \
3030        python${PYTHON_VERSION} \
3131        python${PYTHON_VERSION}-dev \
3232        $( if [ "${PYTHON_VERSION%%.*}"  -eq 3 ] && [ "${PYTHON_VERSION#*.}"  -lt 10 ]; then echo "python${PYTHON_VERSION}-distutils" ; fi ) \
33+         python${PYTHON_VERSION}-pip \
3334        curl \
3435        wget && \
3536    rm -rf /var/lib/apt/lists/* && \
3637    #  Set the default python and install PIP packages
3738    update-alternatives --install /usr/bin/python${PYTHON_VERSION%%.*} python${PYTHON_VERSION%%.*} /usr/bin/python${PYTHON_VERSION} 1 && \
38-     update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 && \
39-     #  install python dependencies
40-     PIP_URL="https://bootstrap.pypa.io/get-pip.py"  && \
41-     curl $PIP_URL | python
39+     update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1
4240
4341ENV  PYTHONPATH="/usr/lib/python${PYTHON_VERSION}/site-packages:/usr/local/lib/python${PYTHON_VERSION}/site-packages" 
4442
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments