Browse Source

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

master
Ray Burgemeestre 4 months ago
parent
commit
b14af09d62
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Dockerfile-ubuntu2404

+ 2
- 1
Dockerfile-ubuntu2404 View File

@@ -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…
Cancel
Save