From 9dad5e9efb14e5695a6f5b0a39013e1c397c6137 Mon Sep 17 00:00:00 2001 From: Louis <contact@louiscap.co> Date: Sun, 22 Dec 2024 19:45:35 +0000 Subject: [PATCH] Fix emsdk bin path --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 591e723..b9dd74d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,13 +24,13 @@ RUN chmod +x /usr/bin/godot_* /usr/bin/butler_* RUN godot_install $GODOT_VERSION $PLATFORM RUN butler_install $BUTLER_VERSION -ENV EMSDK=/usr/bin/emsdk -RUN emsdk_install "${EMSDK}" +RUN emsdk_install /usr/bin + +USER rustbuilder +ENV EMSDK=/usr/bin/emsdk ENV EMSDK_NODE="${EMSDK}/node/20.18.0_64bit/bin/node" ENV PATH="${EMSDK}:${EMSDK}/upstream/emscripten:${PATH}" -USER rustbuilder - RUN rustup component add rust-src --toolchain nightly && \ rustup target add wasm32-unknown-emscripten --toolchain nightly \ No newline at end of file -- GitLab