This repository contains the files and build tools to build Alpine Linux based OCI images, WSL and LXC root file systems and VM images.
The base build system used is docker buildx. It offers several advantages over other systems (see alternatives):
- Layers cache
- Simple recipe based
- Multi-architecture (not used right now)
- Inheritance (
FROM ...
) - Easy efficient online storage (registry)
- Small
- Used as a base container image for many standard container images.
- Good community.
- Contrary to Systemd based systems, Alpine is based on OpenRC that plays well in WSL distributions (see OpenRC Gentoo Documentation).
docker buildx has
several output types
and one of them is tar
, which is convenient to produce a root filesystem
suitable for import into WSL or LXC.
An almost bootable docker image can easily been derived from an existing docker image (see this Dockerfile). Then it's just a matter to dump the image filesystem in a locally mounted image file and install a bootloader.
- Packer
- Ansible
- distobuilder
- alpine-make-vm-image
- Makefile
- Shell scripts