You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							23 lines
						
					
					
						
							374 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							23 lines
						
					
					
						
							374 B
						
					
					
				
								# 基础版本
							 | 
						|
								FROM ubuntu:20.04
							 | 
						|
								
							 | 
						|
								# 基本设置
							 | 
						|
								ENV DEBIAN_FRONTEND=noninteractive 
							 | 
						|
								ENV TZ=Asia/Shanghai
							 | 
						|
								
							 | 
						|
								# 安装基础包
							 | 
						|
								RUN apt-get update && apt-get install -y \
							 | 
						|
								    build-essential \
							 | 
						|
								    cmake \
							 | 
						|
								    python3 \
							 | 
						|
								    python3-pip \
							 | 
						|
								    libboost-all-dev \
							 | 
						|
								    git \
							 | 
						|
								    vim \
							 | 
						|
								    && rm -rf /var/lib/apt/lists/*
							 | 
						|
								
							 | 
						|
								# 工作目录
							 | 
						|
								WORKDIR /app
							 | 
						|
								
							 | 
						|
								# 启动终端
							 | 
						|
								CMD ["/bin/bash"]
							 |