forked from snapwire-media/arion
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
32 lines (25 loc) · 912 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "ubuntu/xenial64"
config.vm.synced_folder ".", "/vagrant", disabled: false
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get install -y cmake wget unzip libexpat1-dev zlib1g-dev libssl-dev libexiv2-dev build-essential devscripts libboost-dev libboost-program-options-dev libboost-timer-dev libboost-filesystem-dev libboost-system-dev
# Install opencv
wget https://github.com/Itseez/opencv/archive/3.0.0.zip
unzip 3.0.0.zip
sudo chown ubuntu:ubuntu -R opencv-3.0.0/
cd opencv-3.0.0
mkdir build
cd build
cmake ..
make
sudo make install
SHELL
end