You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first section explains how to clone the repository, the second how
to build Infinitime with the docker image, but the details on actually
provisioning the image are at the end, despite this step taking place
before the build itself.
Move the sections into the order in which the steps should be followed.
The `infinitime-build` image contains all the dependencies you need.
27
-
The default `CMD` will compile sources found in `/sources`, so you need only mount your code.
28
-
29
-
Before continuing, make sure you first build the image as indicated in the [Build the image](#build-the-image) section, or check the [Using the image from Docker Hub](#using-the-image-from-docker-hub) section if you prefer to use a pre-made image.
24
+
## Provision the image
30
25
31
-
This example will build the firmware, generate the MCUBoot image and generate the DFU file.
32
-
For cloning the repo, see [these instructions](../doc/buildAndProgram.md#clone-the-repo). Outputs will be written to **<project_root>/build/output**:
26
+
Before continuing, the build image needs to be either build locally or pulled
27
+
from Docker Hub, as described in the two sections below:
The image is available via Docker Hub for both the amd64 and arm64v8 architectures at [infinitime/infinitime-build](https://hub.docker.com/repository/docker/infinitime/infinitime-build).
43
+
The image is available via Docker Hub for both the amd64 and arm64v8 architectures at
@@ -64,12 +55,27 @@ The default `latest` tag *should* automatically identify the correct image archi
64
55
65
56
- For ARM64v8 (ARM64/aarch64) systems: `docker pull --platform linux/arm64 infinitime/infinitime-build`
66
57
67
-
## Build the image
58
+
## Run a container to build the project
68
59
69
-
You can build the image yourself if you like!
60
+
The `infinitime-build` image contains all the dependencies you need.
61
+
The default `CMD` will compile sources found in `/sources`, so you need only mount your code.
70
62
71
-
The following commands must be run from the root of the project. This operation will take some time but, when done, a new image named *infinitime-build* is available.
63
+
This example will build the firmware, generate the MCUBoot image and generate the DFU file.
64
+
For cloning the repo, see [these instructions](../doc/buildAndProgram.md#clone-the-repo). Outputs will be written to **<project_root>/build/output**:
0 commit comments