forked from jmhardison/docker-moodle
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathVagrantfile
More file actions
23 lines (15 loc) · 810 Bytes
/
Vagrantfile
File metadata and controls
23 lines (15 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/jammy64"
config.vm.network "private_network", ip: "192.168.56.4"
config.vm.provider "virtualbox" do |v|
v.memory = 4096
v.cpus = 2
end
config.vm.synced_folder "./.", "/home/vagrant/code"
config.vm.provision :shell, :path => "./vagrant_provision/install_git.sh"
config.vm.provision :shell, :path => "./vagrant_provision/install_docker.sh"
config.vm.provision :shell, :path=>"./vagrant_provision/install_mailpit.sh"
# I use apt for dependencies because is used for the tool is for this image testing only.
# For the tool I avoid python virtualenv, because test script will run upon this VM only.
config.vm.provision :shell, :inline=>"apt-get install -y python3-docker python3-yaml"
end