Add which and specify emssdk 1.39.0

This commit is contained in:
Cory Petkovsek 2019-11-13 16:51:35 +08:00
parent 261512a305
commit ffbf92c5b2
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
FROM godot-fedora:latest
RUN dnf -y install scons git bzip2 xz java-openjdk yasm && dnf clean all && \
RUN dnf -y install which scons git bzip2 xz java-openjdk yasm && dnf clean all && \
git clone https://github.com/emscripten-core/emsdk && \
cd emsdk && \
./emsdk install latest && \
./emsdk activate latest && \
./emsdk install 1.39.0 && \
./emsdk activate 1.39.0 && \
echo "source /root/emsdk/emsdk_env.sh" >> /root/.bashrc
CMD ['/bin/bash']