mirror of
				https://github.com/TeamPiped/piped-proxy.git
				synced 2024-08-14 23:50:45 +00:00 
			
		
		
		
	rm build target specifier
This commit is contained in:
		
							parent
							
								
									de44838f3a
								
							
						
					
					
						commit
						578bb48283
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -8,12 +8,12 @@ WORKDIR /app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
 | 
					RUN --mount=type=cache,target=/usr/local/cargo/registry \
 | 
				
			||||||
    --mount=type=cache,target=/app/target/   \
 | 
					    --mount=type=cache,target=/app/target/   \
 | 
				
			||||||
    cargo build --release --target=$(rustc -vV | grep host | cut -d ' ' -f2) && \
 | 
					    cargo build --release && \
 | 
				
			||||||
    mv target/$(rustc -vV | grep host | cut -d ' ' -f2)/release/piped-proxy .
 | 
					    mv target/release/piped-proxy .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM scratch
 | 
					FROM scratch
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WORKDIR /app/
 | 
					WORKDIR /app
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY --from=BUILD /app/piped-proxy .
 | 
					COPY --from=BUILD /app/piped-proxy .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue