JacobiteDE
					
					6 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
6 additions and 
6 deletions
			 
			
		 
		
			
				- 
					
					
					 
					Dockerfile.aarch64
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -64,7 +64,7 @@ RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu -v | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					######################## RUNTIME IMAGE  ######################## | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					# Create a new stage with a minimal image | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					# because we already have a binary built | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					FROM balenalib/aarch64-debian:stretch | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					FROM balenalib/aarch64-debian | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					ENV ROCKET_ENV "staging" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					ENV ROCKET_PORT=80 | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -73,11 +73,11 @@ ENV ROCKET_WORKERS=10 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					RUN [ "cross-build-start" ] | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					# Install needed libraries | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					RUN apt-get update && apt-get install -y\ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    openssl\ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    ca-certificates\ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    libmariadbclient-dev\ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    --no-install-recommends\ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					RUN apt-get update && apt-get install -y \ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    openssl \ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    ca-certificates \ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    libmariadbclient-dev \ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    --no-install-recommends \ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					 && rm -rf /var/lib/apt/lists/* | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					RUN mkdir /data | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |