mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			284 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			284 B
		
	
	
	
		
			Text
		
	
	
	
	
	
FROM ossrs/srs:dev
 | 
						|
 | 
						|
# Install depends tools.
 | 
						|
RUN yum install -y gcc make gcc-c++ patch unzip perl git
 | 
						|
 | 
						|
# Build and install SRS.
 | 
						|
COPY . /srs
 | 
						|
WORKDIR /srs/trunk
 | 
						|
RUN ./configure --srt=on --utest=on --jobs=2 && make -j2
 | 
						|
RUN cd 3rdparty/srs-bench && make
 | 
						|
 | 
						|
# Run utest
 | 
						|
RUN ./objs/srs_utest
 |