mirror of https://github.com/sm64pc/sm64pc.git
Update Dockerfile to Ubuntu 22.04 as 18.04 is EOL + Clean up unused packages in Dockerfile (#538)
* Update Dockerfile to Ubuntu 22.04 also: - Update packages for Dockerfile and instructions * Add missing package for hexdump * Make usage message consistent
This commit is contained in:
parent
98aa0fe376
commit
d206d555eb
28
Dockerfile
28
Dockerfile
|
@ -1,27 +1,17 @@
|
||||||
FROM ubuntu:18.04 as build
|
FROM ubuntu:22.04 as build
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
binutils-mips-linux-gnu \
|
bsdextrautils \
|
||||||
bsdmainutils \
|
|
||||||
build-essential \
|
build-essential \
|
||||||
libaudiofile-dev \
|
|
||||||
python3 \
|
|
||||||
wget \
|
|
||||||
git \
|
git \
|
||||||
libglew-dev \
|
libglew-dev \
|
||||||
libsdl2-dev
|
libsdl2-dev \
|
||||||
|
python3
|
||||||
|
|
||||||
RUN wget \
|
RUN mkdir /sm64ex
|
||||||
https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb \
|
WORKDIR /sm64ex
|
||||||
-O qemu.deb && \
|
ENV PATH="/sm64ex/tools:${PATH}"
|
||||||
echo 8170f37cf03a08cc2d7c1c58f10d650ea0d158f711f6916da9364f6d8c85f741 qemu.deb | sha256sum --check && \
|
|
||||||
dpkg -i qemu.deb && \
|
|
||||||
rm qemu.deb
|
|
||||||
|
|
||||||
RUN mkdir /sm64
|
CMD echo 'Usage: docker run --rm -v ${PWD}:/sm64ex sm64ex make BETTERCAMERA=1 EXTERNAL_DATA=1 -j4\n' \
|
||||||
WORKDIR /sm64
|
'See https://github.com/sm64pc/sm64ex/wiki/Compiling-on-Docker for more information'
|
||||||
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'
|
|
||||||
|
|
Loading…
Reference in New Issue