Firebuild is a tool to build Firecracker root file systems from Dockerfiles.
This repository contains a selection of example Dockerfiles.
sudo $GOPATH/bin/firebuild rootfs \
--profile=standard \
--dockerfile=git+https://github.com/combust-labs/dockerfiles.git:/etcd/3.4.0/Dockerfile \
--cni-network-name=machine-builds \
--vmlinux-id=vmlinux-v5.8 \
--mem=512 \
--tag=combust-labs/etcd:3.4.0
sudo $GOPATH/bin/firebuild run \
--profile=standard \
--from=combust-labs/etcd:3.4.0 \
--cni-network-name=alpine \
--vmlinux-id=vmlinux-v5.8
sudo $GOPATH/bin/firebuild run \
--profile=standard \
--from=combust-labs/etcd:3.4.0 \
--cni-network-name=alpine \
--vmlinux-id=vmlinux-v5.8 \
--ssh-user=alpine \
--identity-file=...
sudo $GOPATH/bin/firebuild rootfs \
--profile=standard \
--dockerfile=git+https://github.com/combust-labs/dockerfiles.git:/minio/latest/Dockerfile \
--cni-network-name=machine-builds \
--vmlinux-id=vmlinux-v5.8 \
--mem=512 \
--tag=combust-labs/minio:latest
sudo $GOPATH/bin/firebuild run \
--profile=standard \
--from=combust-labs/minio:latest \
--cni-network-name=alpine \
--vmlinux-id=vmlinux-v5.8
sudo $GOPATH/bin/firebuild run \
--profile=standard \
--from=combust-labs/minio:latest \
--cni-network-name=alpine \
--machine-vmlinux-id=vmlinux-v5.8 \
--ssh-user=alpine \
--identity-file=...
sudo $GOPATH/bin/firebuild rootfs \
--profile=standard \
--dockerfile=git+https://github.com/combust-labs/dockerfiles.git:/traefik/2.4.7/Dockerfile \
--cni-network-name=machine-builds \
--vmlinux-id=vmlinux-v5.8 \
--mem=512 \
--tag=combust-labs/traefik:2.4.7
sudo $GOPATH/bin/firebuild run \
--profile=standard \
--from=combust-labs/traefik:2.4.7 \
--machine-cni-network-name=alpine \
--vmlinux-id=vmlinux-v5.8
sudo $GOPATH/bin/firebuild run \
--profile=standard \
--from=combust-labs/traefik:2.4.7 \
--cni-network-name=alpine \
--vmlinux-id=vmlinux-v5.8 \
--ssh-user=alpine \
--identity-file=...