mirror of
https://github.com/coturn/coturn.git
synced 2025-10-23 12:00:59 +02:00
To build, run ./build-docker.sh. The outputs will be in the same directory. Signed-off-by: Hui Kang <kangh@us.ibm.com>
16 lines
366 B
Bash
Executable File
16 lines
366 B
Bash
Executable File
#!/bin/bash
|
|
set -o xtrace
|
|
|
|
dir=`pwd`
|
|
echo "$dir"
|
|
|
|
build_image=coturnbuild
|
|
dockerargs="--privileged -v ${dir}:/root/coturn -w /root/coturn"
|
|
container_env=' -e "INSIDECONTAINER=-incontainer=true"'
|
|
docker="docker run --rm -it ${dockerargs} ${container_env} ${build_image}"
|
|
|
|
docker build -f Dockerfile.build -t ${build_image} .
|
|
|
|
${docker} bash -c "./configure && make"
|
|
|