Make debugging actually work on linux by installing gdb. Also, add a manual image for testing the tests

This commit is contained in:
Ben Jackson 2019-06-02 16:54:11 +01:00
commit 3a70b3dd2c
6 changed files with 56 additions and 7 deletions

13
tests/manual/run Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
CONTAINER=puremourning/vimspector:manual
if [ "$@" ];then
CMD="$@"
fi
docker run --cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
--mount src="$(pwd)/../..",target=/home/dev/vimspector,type=bind \
-it ${CONTAINER} \
$CMD