diff --git a/rip_docker/vm-image-builder/.gitignore b/rip_docker/vm-image-builder/.gitignore new file mode 100644 index 0000000..5db08dc --- /dev/null +++ b/rip_docker/vm-image-builder/.gitignore @@ -0,0 +1 @@ +dangerzone.qcow2 \ No newline at end of file diff --git a/rip_docker/vm-image-builder/README.md b/rip_docker/vm-image-builder/README.md new file mode 100644 index 0000000..32b99e4 --- /dev/null +++ b/rip_docker/vm-image-builder/README.md @@ -0,0 +1,13 @@ +# Build the Dangerzone VM for running podman + +Thanks, [alpine-make-vm-image](https://github.com/alpinelinux/alpine-make-vm-image) project. License: MIT + +To build the VM image: + +```sh +docker run \ + --privileged --cap-add=ALL \ + -v $(pwd):/build ubuntu:latest /build/build.sh +``` + +This will create a VM image file called `dangerzone.qcow2`. diff --git a/rip_docker/vm-image-builder/alpine-make-vm-image b/rip_docker/vm-image-builder/alpine-make-vm-image new file mode 100755 index 0000000..6596883 --- /dev/null +++ b/rip_docker/vm-image-builder/alpine-make-vm-image @@ -0,0 +1,515 @@ +#!/bin/sh +# vim: set ts=4: +#---help--- +# Usage: alpine-make-vm-image [options] [--] [