A toolkit for building secure, portable and lean operating systems for containers
Go to file
Justin Cormack b184b3f0e1 Compile Go code with docker run not docker build
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>
2017-01-13 15:49:51 +00:00
alpine Compile Go code with docker run not docker build 2017-01-13 15:49:51 +00:00
docs docs: add a note about kernel symbols to the ebpf documentation 2017-01-06 16:52:16 +00:00
licensing Use Alpine 3.5 2016-12-22 13:40:28 -08:00
scripts Clean up scripts 2016-12-19 17:06:41 +00:00
.datakitci.json Add an LTS 4.4 kernel 2017-01-12 09:47:32 +00:00
.gitignore Add hyperkit build 2016-10-31 15:34:56 +00:00
Dockerfile.kernel Keep kernel headers from build 2016-12-08 17:32:59 -08:00
Dockerfile.media Add a kernel-dev tarball with kernel headers 2017-01-04 12:10:30 +00:00
Dockerfile.qemu Update base images to Alpine 3.5 2016-12-28 18:09:08 +00:00
Dockerfile.qemugce Update base images to Alpine 3.5 2016-12-28 18:09:08 +00:00
Dockerfile.qemuiso Update base images to Alpine 3.5 2016-12-28 18:09:08 +00:00
Dockerfile.test Update base images to Alpine 3.5 2016-12-28 18:09:08 +00:00
hyperkit.sh Docker 1.13 needs more disk space 2016-11-14 11:20:09 +00:00
Makefile make get compatibility with older builds 2017-01-12 14:35:44 +00:00
README.md Update README with kernel variants 2017-01-12 10:04:13 +00:00

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 series
  • make AUFS=1 supports AUFS (deprecated)
  • make AUFS4.4=1 4.4 LTS series with AUFS (deprecated)