mirror of https://github.com/trapexit/mergerfs.git
				
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							13 lines
						
					
					
						
							388 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							13 lines
						
					
					
						
							388 B
						
					
					
				
								ARG BUILD_TIMESTAMP=0
							 | 
						|
								FROM alpine:latest as tarball
							 | 
						|
								COPY install-build-pkgs /tmp/
							 | 
						|
								RUN /tmp/install-build-pkgs
							 | 
						|
								ARG BRANCH=master
							 | 
						|
								RUN git clone --single-branch --depth=1 https://github.com/trapexit/mergerfs /tmp/mergerfs --branch="${BRANCH}"
							 | 
						|
								RUN cd /tmp/mergerfs && make version tarball
							 | 
						|
								RUN mkdir /build
							 | 
						|
								RUN cp -v /tmp/mergerfs/*.tar.gz /build/
							 | 
						|
								
							 | 
						|
								
							 | 
						|
								FROM scratch
							 | 
						|
								COPY --from=tarball /build/ /
							 |