diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-01-26 17:01:44 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-01-26 17:01:44 -0800 |
commit | 82eacc488c5ad093aa56c7ab0ffc409277833d5d (patch) | |
tree | 7f5b5e80a9089d6f068bbbd4adb0a7189fbd8424 /Vagrantfile | |
parent | f6756b837ac86d8e0914539837c6ef0289b9fcd4 (diff) |
Update Vagrantfile to use Xenial
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Vagrantfile b/Vagrantfile index e25d755e..ae0ee5cf 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,7 +1,8 @@ $script = <<SCRIPT apt-get update -apt-get install -y apache2 php5 php5-sqlite php5-mysql php5-pgsql php5-gd curl unzip php5-curl php5-ldap && \ +apt-get install -y apache2 libapache2-mod-php7.0 php7.0-cli php7.0-mbstring php7.0-sqlite3 php7.0-zip \ + php7.0-opcache php7.0-json php7.0-mysql php7.0-pgsql php7.0-ldap php7.0-gd php7.0-xml php7.0-curl && \ apt-get clean && \ echo "ServerName localhost" >> /etc/apache2/apache2.conf && \ sed -ri 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf && \ @@ -25,7 +26,7 @@ SCRIPT Vagrant.configure("2") do |config| config.vm.define "ubuntu" do |m| - m.vm.box = "ubuntu/trusty64" + m.vm.box = "ubuntu/xenial64" m.vm.provision "shell", inline: $script m.vm.synced_folder ".", "/var/www/html", owner: "www-data", group: "www-data" m.vm.network :forwarded_port, guest: 80, host: 8001 |