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:
Sam Clegg
2020-07-31 13:41:13 -07:00
committed by GitHub
parent 1dc9fde175
commit 147abfe46c
2 changed files with 4 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ RUN echo "## Install Emscripten" \
RUN cd ${EMSDK} \
&& echo "## Generate standard configuration" \
&& ./emsdk activate ${EMSCRIPTEN_VERSION} \
&& chmod 777 ${EMSDK}/upstream/emscripten \
&& chmod -R 777 ${EMSDK}/upstream/emscripten/cache \
&& cat ${EMSDK}/upstream/emscripten/cache/sanity.txt \
&& echo "## Done"
@@ -86,6 +87,7 @@ RUN echo "## Update and install packages" \
&& mkdir -p /usr/share/man/man1/ \
&& apt-get -qq -y update \
&& apt-get -qq install -y --no-install-recommends \
sudo \
libxml2 \
ca-certificates \
python3 \