| 
					
				 | 
			
			
				@@ -0,0 +1,26 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+FROM debian:stretch as build 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+RUN apt-get update && apt-get install -y git clang cmake make gcc g++ libmariadbclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip git 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang 100 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+WORKDIR /data 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+RUN git clone --single-branch -b 3.3.5 https://github.com/TrinityCore/TrinityCore.git 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+RUN mkdir -p /data/TrinityCore/build 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+WORKDIR /data/TrinityCore/build 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+RUN cmake ../ -DCMAKE_INSTALL_PREFIX=/data/TrinityCore.install -DTOOLS=1 \ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ && nice -n 20 make -j $(nproc) install && make clean 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ADD entry_world.sh /data/TrinityCore.install/bin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ADD entry_auth.sh /data/TrinityCore.install/bin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+WORKDIR /data/TrinityCore.install/bin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+CMD ./entry_world.sh 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ENV COMMAND=./worldserver 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+VOLUME ["/data/maps"] 
			 |