瀏覽代碼

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

master
Ray Burgemeestre 4 月之前
父節點
當前提交
b14af09d62
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      Dockerfile-ubuntu2404

+ 2
- 1
Dockerfile-ubuntu2404 查看文件

@@ -43,7 +43,8 @@ RUN sudo apt-get install -y libsdl2-dev && \
git checkout 3.1.6 && \
./emsdk install 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)
RUN /emsdk/upstream/emscripten/em++ -s WASM=1 -s USE_SDL=2 -s USE_SDL_TTF=2 -O3 /dev/null || true

Loading…
取消
儲存