Skip to content

quark builder #3

@sameo

Description

@sameo

The quark builder is a CLI tool for building images for lumper to boot.

Those images will be made of:

  1. A minimal Linux guest kernel
  2. A minimal initramfs image containing:
    a. A run0 binary
    b. A container image

The output of the builder will be a quark bundle, i.e. a quardle.
A quardle is a compressed tarball (tar gz) made of a kernel, an initrd and a config file (quark.json).

quark.json must at least contain the kernel and initrd file names, a kernel command line and the container URL.

CLI

Building a quardle with the container image bundled into the initramfs image:

quark build  --image <container_image_url> --offline --quardle <quardle_name>

Building a quardle with the container image to be pulled from within the guest:

quark build  --image <container_image_url> --quardle <quardle_name>

Output

The above command will generate quardle_name.qrk

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions