diff options
author | Tom Rini <trini@konsulko.com> | 2021-03-15 13:19:01 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-07 14:47:05 -0400 |
commit | a64322548cf8d0122833a66d06a9936832a53cac (patch) | |
tree | 0ca76a8f5d072c0b59d112ccd2c7964876f5178b /doc | |
parent | b6b35fd2a16bfda1abb3ed3cba7486a6b6b8ac73 (diff) | |
download | u-boot-a64322548cf8d0122833a66d06a9936832a53cac.zip u-boot-a64322548cf8d0122833a66d06a9936832a53cac.tar.gz u-boot-a64322548cf8d0122833a66d06a9936832a53cac.tar.bz2 |
tools: Integrate the Dockerfile used for CI
Integrate the Dockerfile from
https://source.denx.de/u-boot/gitlab-ci-runner.git as of
commit bc6130d572f1 ("Dockerfile: Remove high UID/GID") and introduce a
short rST on how to build the container.
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/build/docker.rst | 14 | ||||
-rw-r--r-- | doc/build/index.rst | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/build/docker.rst b/doc/build/docker.rst new file mode 100644 index 0000000..953d1b2 --- /dev/null +++ b/doc/build/docker.rst @@ -0,0 +1,14 @@ +GitLab CI / U-Boot runner container +=================================== + +In order to have a reproducible and portable build environment for CI we use a container for building in. This means that developers can also reproduce the CI environment, to a large degree at least, locally. This file is located in the tools/docker directory. To build the image yourself + +.. code-block:: bash + + sudo docker build -t your-namespace:your-tag . + +Or to use an existing container + +.. code-block:: bash + + sudo docker pull trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020 diff --git a/doc/build/index.rst b/doc/build/index.rst index 5f90f95..69952f9 100644 --- a/doc/build/index.rst +++ b/doc/build/index.rst @@ -9,4 +9,5 @@ Build U-Boot source gcc clang + docker tools |