| 1 | #!/bin/sh |
| 2 | |
| 3 | set -eux |
| 4 | |
| 5 | BUILD=coverage |
| 6 | other/docker/sources/build |
| 7 | docker build -t "toxchat/c-toxcore:$BUILD" -f "other/docker/$BUILD/$BUILD.Dockerfile" . |
| 8 | |
| 9 | docker build -t toxchat/c-toxcore:coverage-nginx -f other/docker/coverage/nginx.Dockerfile other/docker/coverage |
| 10 | docker run --name toxcore-coverage --rm -it -p "28192:80" toxchat/c-toxcore:coverage-nginx |