mount project directory to test container

This commit is contained in:
Eon S. Jeon 2019-01-21 17:24:44 +09:00
parent bbed477ea8
commit 8c096f17ed

View File

@ -12,6 +12,7 @@ case "$edition" in
;;
esac
projdir=$(realpath "$(dirname "$0")/..")
ctname="krohnkite-$edition"
Xephyr \
@ -24,7 +25,7 @@ if [[ -z "$ctid" ]]; then
docker run \
--name "$ctname" \
-e DISPLAY=":$display" \
-v "$projdir":"/mnt"
-v "$projdir":"/mnt" \
-v "/tmp/.X11-unix":"/tmp/.X11-unix" \
"kdeneon/plasma":"$edition" &