mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 02:21:34 +00:00
A toolkit for building secure, portable and lean operating systems for containers
Go code is really fast to compile so we do not really need to use the cache features of `docker build`. So make a compile container instead. This can also output a build context and Dockerfile if you want to do a build. For reference, an uncached `docker build` of our Go code takes about 7s, a cached one 1.2s, and this takes 1.7s, so the best case is a little worse, but we save a lot of images, and the worst case is better. This is mainly designed to make the nested builds for containerd containers simpler too. Will add a variant for the C code as well. Also add `-static` to the flags so we always make static executables, which was omitted previously. Signed-off-by: Justin Cormack <justin.cormack@docker.com> |
||
---|---|---|
alpine | ||
docs | ||
licensing | ||
scripts | ||
.datakitci.json | ||
.gitignore | ||
Dockerfile.kernel | ||
Dockerfile.media | ||
Dockerfile.qemu | ||
Dockerfile.qemugce | ||
Dockerfile.qemuiso | ||
Dockerfile.test | ||
hyperkit.sh | ||
Makefile | ||
README.md |
Moby, the Linux distro for Docker editions
Simple build instructions: use make
to build. make qemu
will boot up in qemu in a container.
Requires GNU make
, GNU tar
(not Busybox tar), Docker to build.
- 1.12.x branch for Desktop stable 1.12 edition
- 1.13.x branch for Desktop and Cloud 1.13; also supports 1.12 CS.
- master for 1.14 development
Several kernel variants are supported:
- default
make LTS4.4=1
4.4 LTS seriesmake AUFS=1
supports AUFS (deprecated)make AUFS4.4=1
4.4 LTS series with AUFS (deprecated)