Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Vagrant file to automatically deploy an Ubuntu 14.04 development VM #711

Merged
merged 1 commit into from
Mar 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
*.fsproj merge=union
*.dbproj merge=union

# Custom for Vagrant
*.sh diff=bash text=auto eol=lf

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ release.cmd
Samples/typescript/out/
help/RELEASE_NOTES.md
paket.exe

# Ignore the Vagrant local directories
.vagrant/*
*/.vagrant/*
23 changes: 23 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |vb|
vb.gui = false
vb.memory = 4096
vb.cpus = 4
end
config.vm.provision "shell", inline: <<-SHELL
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
apt-get update
apt-get -y upgrade
apt-get -y install mono-complete
apt-get -y install mono-tools-devel
apt-get -y install referenceassemblies-pcl
apt-get -y install fsharp
apt-get -y autoremove
mozroots --import --sync
SHELL
end