docs: update hub docs to include the TAG comment

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2016-12-16 15:42:47 +00:00
parent d3889c2445
commit 2cb9fc5223

View File

@ -9,12 +9,13 @@ generally with tags based on the image contents.
- `mobylinux/alpine-bios` for building BIOS image
- `mobylinux/alpine-efi` for building efi images
- `mobylinux/alpine-qemu` for Qemu eg for the tests
- `mobylinux/debian-build-kernel` for the kernel builds while we cannot use Alpine
The `Dockerfile`s 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, and update `packages` with a list of the current versions. If the
image has changed, update the other Dockerfiles with this base image to use this new tag.
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](https://hub.docker.com/r/mobylinux/alpine-base/tags/).