Browse Source

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>
Thierry GUIBERT 2 years ago
parent
commit
d9228faa4d
1 changed files with 16 additions and 0 deletions
  1. 16 0
      docs/manual/adding-board-support.txt

+ 16 - 0
docs/manual/adding-board-support.txt

@@ -54,3 +54,19 @@ utils/docker-run script and inside it issue these commands:
  $ make +<boardname>_defconfig+
  $ 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.