Fix Dockerfile
This commit is contained in:
parent
79d01a47b6
commit
39df77c270
13
Dockerfile
13
Dockerfile
@ -15,20 +15,9 @@ RUN \
|
||||
|
||||
COPY . /minetest-wasm
|
||||
|
||||
# Install emsdk
|
||||
RUN \
|
||||
cd "$HOME" \
|
||||
&& echo "Building from $(pwd)" \
|
||||
&& git clone --depth 1 https://github.com/emscripten-core/emsdk.git \
|
||||
&& cd emsdk \
|
||||
&& ./emsdk install latest \
|
||||
&& ./emsdk activate latest
|
||||
|
||||
# Build minetest-wasm
|
||||
RUN \
|
||||
cd "$HOME"/emsdk \
|
||||
&& . ./emsdk_env.sh \
|
||||
&& cd /minetest-wasm \
|
||||
cd /minetest-wasm \
|
||||
&& ls -la \
|
||||
&& ./install_emsdk.sh \
|
||||
&& ./build_all.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user