parent
							
								
									566691c5a3
								
							
						
					
					
						commit
						1f2057b16a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -18,14 +18,14 @@ RUN env DEBIAN_FRONTEND=noninteractive apt-get update && \
 | 
				
			||||||
# Install Python 3.11
 | 
					# Install Python 3.11
 | 
				
			||||||
    # Install Python 3.11
 | 
					    # Install Python 3.11
 | 
				
			||||||
    apt-get install -y python3.11 && \
 | 
					    apt-get install -y python3.11 && \
 | 
				
			||||||
 | 
					    # Install Python 3.11 development and utility packages
 | 
				
			||||||
 | 
					    apt-get install -y python3-pip python3.11-dev python3-wheel python3.11-distutils && \
 | 
				
			||||||
    # Remove the original /usr/bin/python3 symbolic link
 | 
					    # Remove the original /usr/bin/python3 symbolic link
 | 
				
			||||||
    rm /usr/bin/python3 && \
 | 
					    rm /usr/bin/python3 && \
 | 
				
			||||||
    # Create a symbolic link pointing to Python 3.11 at /usr/bin/python3
 | 
					    # Create a symbolic link pointing to Python 3.11 at /usr/bin/python3
 | 
				
			||||||
    ln -s /usr/bin/python3.11 /usr/bin/python3 && \
 | 
					    ln -s /usr/bin/python3.11 /usr/bin/python3 && \
 | 
				
			||||||
    # Create a symbolic link pointing to /usr/bin/python3 at /usr/bin/python
 | 
					    # Create a symbolic link pointing to /usr/bin/python3 at /usr/bin/python
 | 
				
			||||||
    ln -s /usr/bin/python3 /usr/bin/python && \
 | 
					    ln -s /usr/bin/python3 /usr/bin/python && \
 | 
				
			||||||
    # Install Python 3.11 development and utility packages
 | 
					 | 
				
			||||||
    apt-get install -y python3-pip python3.11-dev python3-wheel python3.11-distutils && \
 | 
					 | 
				
			||||||
# Download and install pip, install FastChat from source requires PEP 660 support
 | 
					# Download and install pip, install FastChat from source requires PEP 660 support
 | 
				
			||||||
    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
 | 
					    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
 | 
				
			||||||
    python3 get-pip.py && \
 | 
					    python3 get-pip.py && \
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue