Fix compiling on Docker (#125)

This commit is contained in:
Isaac0-dev 2022-06-06 12:12:23 +10:00 committed by GitHub
parent a63259cecf
commit e0e1d2e1a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM ubuntu:18.04 as build FROM ubuntu:jammy as build
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y \ apt-get install -y \
@ -13,5 +13,5 @@ RUN mkdir /sm64
WORKDIR /sm64 WORKDIR /sm64
ENV PATH="/sm64/tools:${PATH}" ENV PATH="/sm64/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 --mount type=bind,source="$(pwd)",destination=/sm64 sm64ex-coop make -j4 HEADLESS=1\n' \
'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage' 'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage'