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.
		
		
		
		
			
				
					20 lines
				
				556 B
			
		
		
			
		
	
	
					20 lines
				
				556 B
			| 
								 
											2 weeks ago
										 
									 | 
							
								FROM ubuntu:24.04
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								ENV WORKDIR=/tmp/panda/
							 | 
						||
| 
								 | 
							
								ENV PYTHONUNBUFFERED=1
							 | 
						||
| 
								 | 
							
								ENV PATH="$WORKDIR/.venv/bin:$PATH"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								WORKDIR $WORKDIR
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# deps install
							 | 
						||
| 
								 | 
							
								COPY pyproject.toml __init__.py setup.sh $WORKDIR
							 | 
						||
| 
								 | 
							
								RUN mkdir -p $WORKDIR/python/ && touch $WORKDIR/__init__.py
							 | 
						||
| 
								 | 
							
								RUN apt-get update && apt-get install -y --no-install-recommends sudo && DEBIAN_FRONTEND=noninteractive $WORKDIR/setup.sh
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# second pass for the opendbc moving tag
							 | 
						||
| 
								 | 
							
								ARG CACHEBUST=1
							 | 
						||
| 
								 | 
							
								RUN DEBIAN_FRONTEND=noninteractive $WORKDIR/setup.sh
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								RUN git config --global --add safe.directory $WORKDIR/panda
							 | 
						||
| 
								 | 
							
								COPY . $WORKDIR
							 |