File: docker-xephyr.sh

package info (click to toggle)
notion 4.0.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,676 kB
  • sloc: ansic: 47,508; sh: 2,096; makefile: 603; perl: 270
file content (13 lines) | stat: -rwxr-xr-x 345 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash

set -e

this_rel=$(dirname ${BASH_SOURCE[0]})
rel_root=$this_rel/../..

notion_root=$(realpath $rel_root)

docker build -f $this_rel/Dockerfile.make -t notion $notion_root
docker build -f $this_rel/Dockerfile.run -t notion-run $notion_root
docker run --rm -it --name notion-test -v /tmp/.X11-unix:/tmp/.X11-unix notion-run