Files
linuxkit/docs/hub.md
Riyaz Faizullabhoy d66bc2d501 Split base/ into base/ and tools/
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-01-31 09:52:30 -08:00

1.6 KiB

Docker Hub

There are images on Docker Hub to help with reproducible builds. These are built (by hand) from alpine/base, generally with tags based on the image contents.

  • mobylinux/alpine-base the base packages for Moby, before we add Docker and our code and config
  • mobylinux/alpine-build-c for building C code
  • mobylinux/mkimage-iso-bios for building BIOS image
  • mobylinux/alpine-efi for building efi images
  • mobylinux/alpine-qemu for Qemu eg for the tests
  • mobylinux/go-compile for building Go code

The Dockerfiles for these are under alpine/base. To update, modify the Dockerfile if you wish to change the packages used, and repositories if needed, and run make. This will push the image to Docker Hub if it has changed.

To update packages to use the new version, update their respective Dockerfile. Make sure you also update the # TAG: comment at the start of the file. Both the TAG and the sha256 are printed out when pushing the update base to the hub.

For example, alpine/base/alpine-base is the image used to build the Moby image itself, which is used in alpine/Dockerfile. The uploaded tags can be seen at Docker Hub.

In addition

  • mobylinux/media contains build artifacts

You can upload build artifacts with make media or make media MEDIA_PREFIX=1.12.0- if you want to change the prefix of the git hash. The will by default be prefixed by experimental- if they are Docker experimental builds. These are used in the Mac and Windows build process to get the images.

Ping @justincormack if you need access to the Hub organization.