Browse Source
			
			
			Merge pull request #289 from mprasil/alpine-fix
			
				Fix failing alpine build
			
			
				pull/291/head
			
			
		 
		
			
				
					
						 Daniel García
					
					7 years ago
						Daniel García
					
					7 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
3 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					Dockerfile.alpine
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -20,7 +20,7 @@ RUN ls | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ########################## BUILD IMAGE  ########################## | 
			
		
	
		
			
				
					|  |  |  | # Musl build image for statically compiled binary | 
			
		
	
		
			
				
					|  |  |  | FROM clux/muslrust:nightly-2018-11-30 as build | 
			
		
	
		
			
				
					|  |  |  | FROM clux/muslrust:nightly-2018-12-01 as build | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | ENV USER "root" | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | @ -30,6 +30,8 @@ WORKDIR /app | 
			
		
	
		
			
				
					|  |  |  | # To avoid copying unneeded files, use .dockerignore | 
			
		
	
		
			
				
					|  |  |  | COPY . . | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | RUN rustup target add x86_64-unknown-linux-musl | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | # Build | 
			
		
	
		
			
				
					|  |  |  | RUN cargo build --release | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |