mirror of
				https://github.com/coop-deluxe/sm64coopdx.git
				synced 2025-10-30 08:01:01 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			806 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			806 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM ubuntu:18.04 as build
 | 
						|
 | 
						|
RUN apt-get update && \
 | 
						|
    apt-get install -y \
 | 
						|
        binutils-mips-linux-gnu \
 | 
						|
        bsdmainutils \
 | 
						|
        build-essential \
 | 
						|
        libaudiofile-dev \
 | 
						|
        python3 \
 | 
						|
        wget
 | 
						|
 | 
						|
RUN wget \
 | 
						|
        https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb \
 | 
						|
        -O qemu.deb && \
 | 
						|
    echo 8170f37cf03a08cc2d7c1c58f10d650ea0d158f711f6916da9364f6d8c85f741 qemu.deb | sha256sum --check && \
 | 
						|
    dpkg -i qemu.deb && \
 | 
						|
    rm qemu.deb
 | 
						|
 | 
						|
RUN mkdir /sm64
 | 
						|
WORKDIR /sm64
 | 
						|
ENV PATH="/sm64/tools:${PATH}"
 | 
						|
 | 
						|
CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=${VERSION:-us} -j4\n' \
 | 
						|
         'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage'
 |