Last active
August 29, 2015 14:04
-
-
Save ariya/57ae69db6b78636de98d to your computer and use it in GitHub Desktop.
Vagrantfile CentOS for PhantomJS 2
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
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