Last active
November 3, 2021 11:35
-
-
Save Tiim/d1ebb7e026d2f7494041bf704dbf3d84 to your computer and use it in GitHub Desktop.
Vagrantfile for logcabin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.provider "virtualbox" do |v| | |
v.memory = 3072 | |
v.cpus = 4 | |
end | |
config.vm.provision "shell", inline: <<-SHELL | |
sudo apt-get update -qq | |
sudo apt-get install -y g++ | |
sudo apt-get install -y protobuf-compiler libprotobuf-dev | |
sudo apt-get install -y libcrypto++-dev | |
sudo apt-get --no-install-recommends install -y doxygen | |
sudo apt-get install -y rpm | |
sudo apt-get install -y scons | |
SHELL | |
config.vm.provision "shell", privileged: false, inline: <<-SHELL | |
git clone https://github.com/logcabin/logcabin.git | |
cd logcabin | |
git submodule update --init | |
scons | |
SHELL | |
config.ssh.forward_x11 = true | |
config.ssh.forward_agent = true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment