Make emscripten directory world writable (#578)
Without this emscripten will default to using $HOME for the emscripten cache rather than the embedded one.
This commit is contained in:
@@ -31,6 +31,7 @@ RUN echo "## Install Emscripten" \
|
|||||||
RUN cd ${EMSDK} \
|
RUN cd ${EMSDK} \
|
||||||
&& echo "## Generate standard configuration" \
|
&& echo "## Generate standard configuration" \
|
||||||
&& ./emsdk activate ${EMSCRIPTEN_VERSION} \
|
&& ./emsdk activate ${EMSCRIPTEN_VERSION} \
|
||||||
|
&& chmod 777 ${EMSDK}/upstream/emscripten \
|
||||||
&& chmod -R 777 ${EMSDK}/upstream/emscripten/cache \
|
&& chmod -R 777 ${EMSDK}/upstream/emscripten/cache \
|
||||||
&& cat ${EMSDK}/upstream/emscripten/cache/sanity.txt \
|
&& cat ${EMSDK}/upstream/emscripten/cache/sanity.txt \
|
||||||
&& echo "## Done"
|
&& echo "## Done"
|
||||||
@@ -86,6 +87,7 @@ RUN echo "## Update and install packages" \
|
|||||||
&& mkdir -p /usr/share/man/man1/ \
|
&& mkdir -p /usr/share/man/man1/ \
|
||||||
&& apt-get -qq -y update \
|
&& apt-get -qq -y update \
|
||||||
&& apt-get -qq install -y --no-install-recommends \
|
&& apt-get -qq install -y --no-install-recommends \
|
||||||
|
sudo \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
python3 \
|
python3 \
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
sudo -u nobody `which emcc` --version
|
||||||
|
|
||||||
which asm2wasm
|
which asm2wasm
|
||||||
which llvm-ar
|
which llvm-ar
|
||||||
which emsdk
|
which emsdk
|
||||||
|
|||||||
Reference in New Issue
Block a user