Fixed the javascript build container. Also downgraded emscripten for now to avoid warning spam because of a deprecation on their end.

This commit is contained in:
Relintai 2022-10-12 07:37:24 +02:00
parent 7361e3b029
commit d6f135daf5

View File

@ -1,12 +1,12 @@
ARG img_version
FROM pandemonium-fedora:${img_version}
ENV EMSCRIPTEN_VERSION=3.1.18
ENV EMSCRIPTEN_VERSION=3.1.14
RUN dnf -y install --setopt=install_weak_deps=False \
java-openjdk && \
git clone --branch ${EMSCRIPTEN_CLASSICAL} --progress https://github.com/emscripten-core/emsdk emsdk && \
emsdk/emsdk install ${EMSCRIPTEN_CLASSICAL} && \
emsdk/emsdk activate ${EMSCRIPTEN_CLASSICAL}
git clone --branch ${EMSCRIPTEN_VERSION} --progress https://github.com/emscripten-core/emsdk emsdk && \
emsdk/emsdk install ${EMSCRIPTEN_VERSION} && \
emsdk/emsdk activate ${EMSCRIPTEN_VERSION}
CMD /bin/bash