Update Dockerfile to Ubuntu 22.04 as 18.04 is EOL (#731)
* Update Dockerfile to Ubuntu 22.04 as 18.04 is EOL * Dockerfile: Use modern syntax for mounting * Add gcc-mips-linux-gnu to dockerfile
This commit is contained in:
1 parent
36c98b6cd1
commit
72f8ea130f
1 file changed
+8
-7
+8
-7
@@ -1,17 +1,18 @@
|
|||||||
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 \
|
binutils-mips-linux-gnu \
|
||||||
bsdmainutils \
|
bsdextrautils \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
gcc-mips-linux-gnu \
|
||||||
libcapstone-dev \
|
libcapstone-dev \
|
||||||
pkgconf \
|
pkgconf \
|
||||||
python3
|
python3
|
||||||
|
|
||||||
RUN mkdir /sm64
|
RUN mkdir /hackersm64
|
||||||
WORKDIR /sm64
|
WORKDIR /hackersm64
|
||||||
ENV PATH="/sm64/tools:${PATH}"
|
ENV PATH="/hackersm64/tools:${PATH}"
|
||||||
|
|
||||||
CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=us -j4\n' \
|
CMD echo 'Usage: docker run --rm -v ${PWD}:/hackersm64 hackersm64 make VERSION=us -j4\n' \
|
||||||
'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage'
|
'See https://github.com/HackerN64/HackerSM64/blob/master/README.md for more information'
|
||||||
Reference in new issue
Block a user