Skip to content

Instantly share code, notes, and snippets.

@ariya
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ariya/57ae69db6b78636de98d to your computer and use it in GitHub Desktop.
Save ariya/57ae69db6b78636de98d to your computer and use it in GitHub Desktop.
Vagrantfile CentOS for PhantomJS 2
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos"
config.vm.provision "shell",
inline: "yum -y update && yum -y install gcc gcc-c++ make flex bison gperf ruby openssl-devel freetype-devel fontconfig-devel libicu-devel sqlite-devel"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", 3072]
v.customize ["modifyvm", :id, "--cpus", 2]
v.customize ["modifyvm", :id, "--cpuexecutioncap", "90"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment