Commit 2ccd419 1 parent 0f85cdd commit 2ccd419 Copy full SHA for 2ccd419
File tree 3 files changed +31
-0
lines changed
3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1
1
.DS_Store
2
+ /.vagrant
Original file line number Diff line number Diff line change
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
5
+ VAGRANTFILE_API_VERSION = '2'
6
+
7
+ Vagrant . configure ( VAGRANTFILE_API_VERSION ) do |config |
8
+ config . vm . box = 'boxcutter/ubuntu1604'
9
+ config . ssh . forward_agent = true
10
+
11
+ config . vm . provider 'vmware_fusion' do |v |
12
+ v . vmx [ 'memsize' ] = '1024'
13
+ v . vmx [ 'numvcpus' ] = '2'
14
+ end
15
+
16
+ config . vm . provision :shell , path : 'dev/install-vagrant.sh'
17
+ end
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -ex
3
+ apt-get update
4
+ apt-get install -y apt-transport-https ca-certificates
5
+ apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
6
+ echo deb https://apt.dockerproject.org/repo ubuntu-xenial main | tee /etc/apt/sources.list.d/docker.list
7
+
8
+ apt-get update
9
+ apt-get install -y docker-engine
10
+ service docker start
11
+ systemctl enable docker
12
+
13
+ usermod -aG docker vagrant
You can’t perform that action at this time.
0 commit comments