Super Mario 64 OpenGL port for PC. Mirror of https://github.com/sm64pc/sm64pc https://github.com/sm64pc/sm64pc
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.
 
 
 
 
 
 

37 lines
1.1 KiB

  1. FROM ubuntu:18.04 as build
  2. RUN apt-get update && \
  3. apt-get install -y \
  4. binutils-mips-linux-gnu \
  5. bsdmainutils \
  6. build-essential \
  7. git \
  8. libaudiofile-dev \
  9. libsdl2-dev \
  10. pkg-config \
  11. python3 \
  12. wget \
  13. zlib1g-dev && \
  14. rm -rf /var/lib/apt/lists/*
  15. RUN wget \
  16. https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb \
  17. -O qemu.deb && \
  18. echo 8170f37cf03a08cc2d7c1c58f10d650ea0d158f711f6916da9364f6d8c85f741 qemu.deb | sha256sum --check && \
  19. dpkg -i qemu.deb && \
  20. rm qemu.deb
  21. RUN cd /tmp && \
  22. git clone https://github.com/emscripten-core/emsdk.git && \
  23. cd emsdk && \
  24. ./emsdk install latest && \
  25. cd .. && \
  26. rm -rf emsdk
  27. RUN mkdir /sm64
  28. WORKDIR /sm64
  29. ENV PATH="/sm64/tools:/emsdk:${PATH}"
  30. CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=${VERSION:-us} -j4\n' \
  31. 'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage'