Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.97 KB

README.md

File metadata and controls

55 lines (41 loc) · 1.97 KB

alpine-boxes

stability-experimental

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)

Why Alpine Linux ?

  • 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).

Making root file systems from docker images

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.

Making VM images from docker images

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.

Alternatives

See also