Print env

This commit is contained in:
Ben Jackson 2019-08-01 22:32:53 +01:00
commit df8c0179d1
3 changed files with 8 additions and 27 deletions

View file

@ -2,14 +2,8 @@
CONTAINER=puremourning/vimspector:manual
if [ "$@" ];then
CMD="$@"
else
CMD="bash -l"
fi
docker run --cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
--mount src="$(pwd)/../..",target=/home/dev/vimspector,type=bind \
-it ${CONTAINER} \
$CMD
"$@"