Skip to content

Commit 24aee36

Browse files
committed
(Vagrantfile) add box to reproduce #304
1 parent 37ffdc6 commit 24aee36

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

Vagrantfile

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,30 @@ Vagrant.configure("2") do |config|
144144
end
145145

146146

147+
#
148+
# ubuntu xenial(16.04) box with PHP 7.1.3, V8 5.2
149+
# (to reproduce issue #304)
150+
#
151+
config.vm.define "xenial-v8-5.2" do |i|
152+
i.vm.box = "ubuntu/xenial64"
153+
i.vm.synced_folder ".", "/data/v8js"
154+
155+
i.vm.provision "shell", inline: <<-SHELL
156+
gpg --keyserver keys.gnupg.net --recv 7F438280EF8D349F
157+
gpg --armor --export 7F438280EF8D349F | apt-key add -
158+
159+
apt-get update
160+
apt-get install -y software-properties-common gdb tmux git tig curl apache2-utils lcov
161+
162+
add-apt-repository ppa:ondrej/php
163+
add-apt-repository ppa:pinepain/libv8-5.2
164+
apt-get update
165+
apt-get install -y php7.1-dev libv8-5.2-dbg libv8-5.2-dev
166+
SHELL
167+
end
168+
169+
147170
config.vm.provision "shell", inline: <<-SHELL
148-
mkdir -p /data/build && chown vagrant:vagrant /data/build
171+
mkdir -p /data/build && chown 1000:1000 /data/build
149172
SHELL
150173
end

0 commit comments

Comments
 (0)