Skip to content

Commit

Permalink
chore(codescapes): set permissions for emsdk
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n committed Jan 5, 2024
1 parent e258049 commit fe6e353
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ ARG EXTRA_NODE_VERSION="20.3.0"
RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"

## install emscripten
WORKDIR /workspaces
WORKDIR /tmp
RUN git clone --depth 1 --branch 2.0.24 https://github.com/emscripten-core/emsdk.git
WORKDIR emsdk
RUN chmod -R 777 ./emsdk
RUN ./emsdk install 2.0.24
RUN ./emsdk activate 2.0.24
RUN su node -c "source /workspaces/emsdk/emsdk_env.sh"
RUN su node -c "source /tmp/emsdk/emsdk_env.sh"

0 comments on commit fe6e353

Please sign in to comment.