From 368474b427f15944f490f255aa855f09d23d9c44 Mon Sep 17 00:00:00 2001 From: albertw <3dsgitasw@gmail.com> Date: Sun, 10 May 2020 20:18:04 -0700 Subject: [PATCH] Fix emsdk install and PATH update --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index d19c5fcb..ca63fa0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,12 +23,11 @@ RUN wget \ RUN git clone --depth 1 https://github.com/emscripten-core/emsdk.git && \ ./emsdk/emsdk install latest && \ - ./emsdk/emsdk activate latest && \ - ln -s $(ls -d -1 /emsdk/node/**) /emsdk/node/latest + ./emsdk/emsdk activate latest RUN mkdir /sm64 WORKDIR /sm64 -ENV PATH="/sm64/tools:/emsdk:/emsdk/node/latest/bin:/emsdk/upstream/emscripten:${PATH}" +ENV PATH="/sm64/tools:/emsdk:/emsdk/upstream/emscripten:${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'