Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 2s
23 lines
675 B
Ruby
23 lines
675 B
Ruby
Vagrant.configure("2") do |config|
|
|
config.vm.box = "debian/bookworm64"
|
|
config.vm.network "forwarded_port", guest: 9105, host: 9105
|
|
|
|
config.vm.provider "virtualbox" do |vb|
|
|
vb.memory = "1024"
|
|
vb.cpus = 2
|
|
end
|
|
|
|
config.vm.provision "shell", inline: <<-SHELL
|
|
apt-get update
|
|
apt-get install -y sbcl curl git ripgrep libsqlite3-dev build-essential
|
|
|
|
# Setup for opencortex
|
|
mkdir -p /home/vagrant/opencortex
|
|
cp -r /vagrant/* /home/vagrant/opencortex/
|
|
chown -R vagrant:vagrant /home/vagrant/opencortex
|
|
|
|
# Build binary natively
|
|
sudo -u vagrant bash -c "cd /home/vagrant/opencortex && ./deploy/bare-metal/install.sh"
|
|
SHELL
|
|
end
|