Vagrant wrapped Singularity container builds
45760a83 — David Trudgian 1 year, 10 months ago
destroy case
fc5b1e39 — David Trudgian 1 year, 10 months ago
Fix clone uri
aff70ab8 — David Trudgian 1 year, 10 months ago
Initial Commit

refs

master
browse log

clone

read-only
https://git.sr.ht/~dctrud/vm-singularity-build
read/write
git@git.sr.ht:~dctrud/vm-singularity-build

You can also use your local clone with git send-email.

vm-singularity-build

Build singularity images from recipe files inside a vagrant virtual machine. Useful in the narrow case that you don't have root access where you need to build, but vagrant and VirtualBox are available.

Usage

# Clone this repo
git clone git@github.com:dctrud/vm-singularity-build.git
cd vm-singularity-build

# Build a recipe file (in this dir) into a container image
# (creates example.def.simg)
./vm-singularity-build example.def

Limitations

  • Recipe file must be inside this directory
  • Files copied into the image, during the build, must exist in this directory and are available at build time under /vagrant