From 6120c5149082892b11222eb21b009d605ca53f31 Mon Sep 17 00:00:00 2001 From: Sydney Aldo <58101855+sydneyaldo@users.noreply.github.com> Date: Fri, 21 Aug 2020 01:02:55 +0800 Subject: [PATCH] update Vagrantfile (fixes #1377) (#1402) Co-authored-by: dogi --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 96fba1895..4781d48a7 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -36,8 +36,8 @@ Vagrant.configure("2") do |config| unix2dos /vagrant/gradlew.bat #codeclimate docker pull codeclimate/codeclimate - echo "alias codeclimate=\\\"docker run --interactive --tty --rm --env CODECLIMATE_CODE=\\\$PWD --volume \\\$PWD:/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate\\\"" > /home/vagrant/.bash_aliases - chown vagrant: /home/vagrant/.bash_aliases + wget https://raw.githubusercontent.com/codeclimate/codeclimate/master/codeclimate-wrapper -O /usr/local/bin/codeclimate + chmod +x /usr/local/bin/codeclimate SHELL # Run binding on each startup make sure the mount is available on VM restart