21 lines
		
	
	
		
			731 B
		
	
	
	
		
			Docker
		
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			731 B
		
	
	
	
		
			Docker
		
	
	
	
| FROM docker.io/mono:6.12.0
 | |
| 
 | |
| WORKDIR /workdir
 | |
| 
 | |
| RUN apt-get update
 | |
| RUN apt-get install -y apt-transport-https
 | |
| RUN apt-get install -y --allow-unauthenticated --no-install-recommends \
 | |
|     ca-certificates zip file mono-devel libfreetype6 libopenal1 liblua5.1-0 libsdl2-2.0-0 \
 | |
|     xdg-utils zenity wget make unzip python nsis imagemagick python3
 | |
| 
 | |
| RUN mkdir /dotnet
 | |
| WORKDIR /dotnet
 | |
| RUN wget -q https://download.visualstudio.microsoft.com/download/pr/ede8a287-3d61-4988-a356-32ff9129079e/bdb47b6b510ed0c4f0b132f7f4ad9d5a/dotnet-sdk-6.0.101-linux-x64.tar.gz -O /root/dotnet-sdk.tar.gz
 | |
| RUN tar xzf /root/dotnet-sdk.tar.gz
 | |
| 
 | |
| ENV PATH="${PATH}:/dotnet"
 | |
| ENV DOTNET_ROOT=/dotnet
 | |
| WORKDIR /workdir
 | |
| COPY build.sh /root/build.sh
 | |
| CMD /root/build.sh
 |