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

@ -47,7 +47,7 @@ RUN mkdir -p /home/linuxbrew/.linuxbrew &&\
git clone https://github.com/Homebrew/brew /home/linuxbrew/.linuxbrew/Homebrew && \
ln -s /home/linuxbrew/.linuxbrew/Homebrew/bin/brew /home/linuxbrew/.linuxbrew/bin && \
echo "eval \$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" \
> /etc/bash.bashrc
> /etc/skel/.bashrc
RUN /home/linuxbrew/.linuxbrew/bin/brew install golang

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
"$@"