I now have a pull-through cache set up with kaniko, so I no longer need this hard-coded path. Removing the private mirror from the dockerfiles makes them more portable.
		
			
				
	
	
		
			6 lines
		
	
	
		
			101 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			101 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM rustlang/rust:nightly-alpine3.17
 | 
						|
 | 
						|
RUN rustup component add rustfmt
 | 
						|
 | 
						|
ENTRYPOINT ["cargo", "fmt"]
 |