2020-08-05 00:54:26 +02:00
|
|
|
ARG img_version
|
2020-08-08 23:40:58 +02:00
|
|
|
FROM godot-fedora:${img_version}
|
2020-08-05 00:54:26 +02:00
|
|
|
|
2021-08-08 18:31:09 +02:00
|
|
|
ENV EMSCRIPTEN_CLASSICAL=2.0.25
|
|
|
|
|
2020-08-05 00:54:26 +02:00
|
|
|
RUN dnf -y install --setopt=install_weak_deps=False \
|
2021-08-08 18:31:09 +02:00
|
|
|
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
|
2020-08-05 00:54:26 +02:00
|
|
|
|
|
|
|
CMD /bin/bash
|