Fix emsdk_env's location, and also comment that line out as it doesn't work properly anymore. (Still useful to have it there that's why I'm keeping it.)

This commit is contained in:
Relintai 2021-08-08 20:39:21 +02:00
parent b265462641
commit d4a688c58f

View File

@ -7,7 +7,7 @@ RUN dnf -y install --setopt=install_weak_deps=False \
java-openjdk && \
git clone --branch ${EMSCRIPTEN_CLASSICAL} --progress https://github.com/emscripten-core/emsdk emsdk_${EMSCRIPTEN_CLASSICAL} && \
emsdk_${EMSCRIPTEN_CLASSICAL}/emsdk install ${EMSCRIPTEN_CLASSICAL} && \
emsdk_${EMSCRIPTEN_CLASSICAL}/emsdk activate ${EMSCRIPTEN_CLASSICAL} && \
echo "source /root/emsdk_${EMSCRIPTEN_CLASSICAL}/emsdk/emsdk_env.sh" >> /root/.bashrc
emsdk_${EMSCRIPTEN_CLASSICAL}/emsdk activate ${EMSCRIPTEN_CLASSICAL}
# echo "source /root/emsdk_${EMSCRIPTEN_CLASSICAL}/emsdk_env.sh" >> /root/.bashrc
CMD /bin/bash