Created
September 6, 2017 09:14
-
-
Save icanhazstring/13860205cd60526e129413fa70348e8d to your computer and use it in GitHub Desktop.
Simple Vagrantconfig PHP7.1 + composer
This file contains hidden or 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
Vagrant.configure("2") do |config| | |
config.vm.box = "puphpet/ubuntu1604-x64" | |
config.vm.provision "shell", inline: <<-SHELL | |
add-apt-repository ppa:ondrej/php | |
apt-get update | |
apt-get install -y php7.1 php7.1-xml php7.1-mbstring php7.1-zip php7.1-curl php7.1-xdebug composer | |
# Switch to /vagrant and install packages | |
cd /vagrant && composer install | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment