1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00
openrw/scripts/docker/docker_build.sh

15 lines
404 B
Bash
Raw Normal View History

#!/bin/bash
curdir=$(dirname "$(readlink -f "$0")")
docker=$1
# Build docker image
"$curdir/docker_tool.py" build -d "$docker" -t openrw_build_image
# Start docker container + add travis user
2018-02-10 02:07:35 +01:00
"$curdir/docker_tool.py" create -t openrw_build_image -n openrw_builder -U travis
# Build only
"$curdir/docker_tool.py" exec -n openrw_builder -U travis -- /bin/bash -c "cd /build && cmake -VV /src && make"