doc/manual: add documentation about docker registry on gitlab.com

Add a paragraph and an example about using the Buildroot image registry
hosted on gtilab.com, for people who want to build their own image based
on the offical one.

Signed-off-by: Thierry GUIBERT <thierry.guibert@croix-rouge.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Thierry GUIBERT 2022-09-04 15:46:13 +02:00 committed by Yann E. MORIN
parent 4466c20621
commit d9228faa4d

View File

@ -54,3 +54,19 @@ utils/docker-run script and inside it issue these commands:
$ make +<boardname>_defconfig+ $ make +<boardname>_defconfig+
$ make $ make
-------------------- --------------------
By default, Buildroot developers use the official image hosted on the
https://gitlab.com/buildroot.org/buildroot/container_registry/2395076[gitlab.com
registry] and it should be convenient for most usage. If you still want
to build your own docker image, you can base it off the official image
as the +FROM+ directive of your own _Dockerfile_:
----
FROM registry.gitlab.com/buildroot.org/buildroot/base:YYYYMMDD.HHMM
RUN ...
COPY ...
----
The current version _YYYYMMDD.HHMM_ can be found in the +.gitlab-ci.yml+
file at the top of the Buildroot source tree; all past versions are
listed in the aforementioned registry as well.