A.k.a. "The Little Containers That Could!"
This repository contains:
rootfs.tar
archive suitable to build a minimal Docker image,
based on Busybox;Dockerfile
referencing this tarball, suitable for inclusion into
Stackbrew;Dockerfiles
to build this tarball.The goal of the latter is to solve a difficult question, id est "who builds the builders?".
Those meta-builders are called "tarmakers". They obey the following "API":
ADD
of local file);rootfs.tar
in their root directory.The script mkrootfs.sh
is a helper to build rootfs.tar
. It requires
as first and only argument the name of a subdirectory containing a tarmaker.
The following tarmakers are available:
busybox-static
Ubuntu package and use it as the
base for the newly built image. This is very fast but the resulting
image is a bit bigger, because we have to slap a few fat greasy libraries
on top of it. Would you like some fries with that?# Use buildroot or ubuntu
TARMAKER=ubuntu
./mkrootfs.sh tarmaker-ubuntu
docker build -t busybox .
docker run -t -i busybox