Skip to content

Commit f5a39a8

Browse files
committed
Use a minimal debian base box. Provide Gitlab Runner.
1 parent 6f42384 commit f5a39a8

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

Vagrantfile

+11-8
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@
22
# vi: set ft=ruby :
33

44
Vagrant.configure(2) do |config|
5-
config.vm.box = "ubuntu/trusty64"
5+
config.vm.box = "minimal/jessie64"
66

7-
config.vm.provider "virtualbox" do |vb|
8-
vb.memory = 4096
9-
vb.cpus = 2
10-
end
7+
config.vm.provider "virtualbox"
8+
9+
config.vm.provision "docker"
10+
11+
# Install gitlab-ci-multi-runner
12+
config.vm.provision "shell", inline: <<-SHELL
13+
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-ci-multi-runner/script.deb.sh | sudo bash
14+
sudo apt-get update
15+
sudo apt-get install gitlab-ci-multi-runner
16+
SHELL
1117

12-
config.vm.provision "docker" do |d|
13-
d.build_image "/vagrant"
14-
end
1518
end

0 commit comments

Comments
 (0)