浏览代码

Make sure the layer that adds emscripten doesn't have the huge IDs

master
Ray Burgemeestre 9 个月前
父节点
当前提交
b14af09d62
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      Dockerfile-ubuntu2404

+ 2
- 1
Dockerfile-ubuntu2404 查看文件

git checkout 3.1.6 && \ git checkout 3.1.6 && \
./emsdk install 3.1.6 && \ ./emsdk install 3.1.6 && \
./emsdk activate 3.1.6 && \ ./emsdk activate 3.1.6 && \
sudo cp -prv ./emsdk_env.sh /etc/profile.d/
sudo cp -prv ./emsdk_env.sh /etc/profile.d/ && \
chown root:root /emsdk -R


# Warmup emscripten (this will pre-fetch SDL2, and cache it) # Warmup emscripten (this will pre-fetch SDL2, and cache it)
RUN /emsdk/upstream/emscripten/em++ -s WASM=1 -s USE_SDL=2 -s USE_SDL_TTF=2 -O3 /dev/null || true RUN /emsdk/upstream/emscripten/em++ -s WASM=1 -s USE_SDL=2 -s USE_SDL_TTF=2 -O3 /dev/null || true

正在加载...
取消
保存