diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-11-02 21:29:12 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-29 00:10:23 +0100 |
| commit | 86cb95b91a82f362edfec6f30db181a41f411def (patch) | |
| tree | bbbac2fe5143b233644e86cf8aeddde5390207aa /run | |
| parent | 42010b8143e2f99b3f61e19134d0f4bf9098786d (diff) | |
Add scripts to build and run in docker.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/docker-dcpomatic | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/run/docker-dcpomatic b/run/docker-dcpomatic new file mode 100755 index 000000000..1b6f90193 --- /dev/null +++ b/run/docker-dcpomatic @@ -0,0 +1,15 @@ +#!/bin/bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +source $DIR/environment +binary=$build/src/tools/dcpomatic2 + +xhost + local:docker +docker run --init --rm -it \ + -v /home/carl:/home/carl \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -v /run:/run \ + -e DISPLAY=:0 \ + -e DCPOMATIC_GRAPHICS=$DCPOMATIC_GRAPHICS \ + --device /dev/snd \ + dcpomatic-v2.19.x $binary $* 2> >(grep -v Gtk-CRITICAL | grep -v Gtk-WARNING) |
