mirror of https://github.com/coturn/coturn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
366 B
16 lines
366 B
|
9 years ago
|
#!/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"
|
||
|
|
|