Vagrant.configure("2") do |config|
  config.vm.box = "bento/ubuntu-16.04"
  config.vm.provision "shell", inline: <<-SHELL
    export DEBIAN_FRONTEND=noninteractive
    apt-get -y -qq update
    apt-get -y install build-essential git libfontconfig
    curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
    apt-get -y install nodejs
  SHELL
  config.vm.provision "file", source: "~/.gitconfig", destination: ".gitconfig"
  config.vm.network :forwarded_port, guest: 3000, host: 3000
  config.vm.network :forwarded_port, guest: 8000, host: 8000
  config.vm.network :forwarded_port, guest: 9876, host: 9876
end