godot-xterm/addons/godot_xterm/native/docker-compose.yaml
Leroy Hopson 6b512bd525
Add option to build inside docker container
This allows us to target older versions of GLIBC.
2022-05-15 10:48:07 +07:00

25 lines
554 B
YAML

services:
javascript:
build: ../../../misc/docker
user: ${UID_GID}
volumes:
- .:/src
command:
- /bin/bash
- -c
- |
cd /src/thirdparty/godot-cpp
scons platform=javascript target=$${TARGET:-debug} -j$$(nproc)
cd /src
scons platform=javascript target=$${TARGET:-debug} -j$$(nproc)
linux:
build: .
user: ${UID_GID}
volumes:
- .:/src
command:
- /bin/bash
- -c
- |
cd /src
/bin/bash ./build.sh --target ${TARGET} --bits ${BITS}