24 lines
352 B
Docker
24 lines
352 B
Docker
FROM ubuntu:22.04
|
|
|
|
# install deps
|
|
RUN \
|
|
apt-get update \
|
|
&& DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y \
|
|
wget \
|
|
python3 \
|
|
git \
|
|
build-essential \
|
|
cmake \
|
|
tclsh \
|
|
zip \
|
|
zstd
|
|
|
|
COPY . /minetest-wasm
|
|
|
|
# Build minetest-wasm
|
|
RUN \
|
|
cd /minetest-wasm \
|
|
&& ls -la \
|
|
&& ./install_emsdk.sh \
|
|
&& ./build_all.sh
|