Created
August 10, 2017 17:07
-
-
Save rwaldron/8eb7dc59a3531a1003269290b5ad4f81 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# All Vagrant configuration is done below. The "2" in Vagrant.configure | |
# configures the configuration version (we support older styles for | |
# backwards compatibility). Please don't change it unless you know what | |
# you're doing. | |
Vagrant.configure(2) do |config| | |
# The most common configuration options are documented and commented below. | |
# For a complete reference, please see the online documentation at | |
# https://docs.vagrantup.com. | |
# Every Vagrant development environment requires a box. You can search for | |
# boxes at https://atlas.hashicorp.com/search. | |
config.vm.box = "bento/ubuntu-16.04" | |
config.vm.provider 'virtualbox' do |v| | |
v.memory = 1024 | |
v.cpus = 2 | |
end | |
config.vm.synced_folder './out', '/root/out' | |
# Enable provisioning with a shell script. Additional provisioners such as | |
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the | |
# documentation for more information about their specific syntax and use. | |
config.vm.provision 'shell', keep_color: true, inline: <<-SHELL | |
sudo su | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
apt-get install -y git build-essential cmake clang libicu-dev libunwind8-dev | |
cd /root | |
mkdir -p /root/out | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment