diff --git a/docs/hub.md b/docs/hub.md index fa90be1f8..e2eaf915b 100644 --- a/docs/hub.md +++ b/docs/hub.md @@ -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/).