Skip to contentSkip to conversation

tools: Integrate the Dockerfile used for CI

PATCH New Tom Rini 1 participant 2 messages Mar 15, 2021 – Apr 7, 2021

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 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 <[email protected]>
---
 doc/build/docker.rst    |  14 +++
 doc/build/index.rst     |   1 +
 tools/docker/Dockerfile | 203 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 218 insertions(+)
 create mode 100644 doc/build/docker.rst
 create mode 100644 tools/docker/Dockerfile
doc/build/docker.rst new file +14 -0
new file mode 100644
index 000000000000..953d1b28a063
@@ -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
doc/build/index.rst +1 -0
index 5f90f95acabd..69952f90d899 100644
@@ -9,4 +9,5 @@ Build U-Boot
    source
    gcc
    clang
+   docker
    tools
tools/docker/Dockerfile new file +203 -0

203 lines not on this page · raw message

Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 1/1 tools: Integrate the Dockerfile used for CI

Quoted 7 lines · Tom Rini

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 <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210407/a260eb3b/attachment.sig>