File: Vagrantfile

package info (click to toggle)
bcbio 1.2.9-4
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 36,792 kB
  • sloc: python: 45,766; sh: 209; makefile: 159; xml: 129
file content (27 lines) | stat: -rw-r--r-- 746 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

  config.vm.box = "bento/ubuntu-18.04"

  config.vm.hostname = "bcbio"

  config.vm.provider :virtualbox do |vb|
    vb.memory = 4096
    vb.cpus = 2
  end

  # to make any additional data on the host available inside the VM
  # (for example: reference genomes, pipeline inputs, etc)
  # set BCBIO_DATA_DIR environment variable on the host to a directory that contains the data
  if ENV["BCBIO_DATA_DIR"]
    config.vm.synced_folder ENV["BCBIO_DATA_DIR"], "/data"
  end

  config.vm.provision :shell, :path => "scripts/vagrant.sh"

end