mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
4389c71619
This works on my kernel. If your kernel is older/newer, you may need a different alpine base image that matches your kernel more closely.
10 lines
193 B
Bash
Executable File
10 lines
193 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
docker build -t toxchat/c-toxcore:perf -f other/docker/perf/Dockerfile .
|
|
docker run --privileged --rm -it \
|
|
-v "$PWD:/work/c-toxcore" \
|
|
toxchat/c-toxcore:perf \
|
|
"$@"
|