2022-03-23 22:07:11 +01:00
|
|
|
ARG img_version
|
|
|
|
FROM pandemonium-fedora:${img_version}
|
|
|
|
|
2022-08-01 22:17:12 +02:00
|
|
|
ENV EMSCRIPTEN_CLASSICAL=3.1.14
|
2022-03-23 22:07:11 +01:00
|
|
|
|
|
|
|
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_env.sh" >> /root/.bashrc
|
|
|
|
|
|
|
|
CMD /bin/bash
|