Skip to content

Commit ef7badf

Browse files
committed
Documentation image build update & validation test
1 parent 0558c01 commit ef7badf

File tree

1 file changed

+15
-1
lines changed
  • content/hardware/04.pro/boards/portenta-x8/tutorials/08.image-building

1 file changed

+15
-1
lines changed

content/hardware/04.pro/boards/portenta-x8/tutorials/08.image-building/content.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,19 @@ cd lmp-manifest
5959
Build the Docker image with the following command:
6060

6161
```bash
62-
docker build -t yocto-build ./lmp-manifest
62+
docker build -t yocto-build .
6363
```
6464

65+
***If you encounter issues running Docker commands, you may need to install the necessary Docker components. You can install the Docker CLI by running: **`winget install --id=Docker.DockerCLI -e`** or install [**Docker Desktop**](https://docs.docker.com/desktop/install/windows-install/), which includes all needed components.***
66+
6567
![Building a Docker Image](assets/docker_build.png)
6668

69+
If you are building the Docker image one directory up, please use the following command:
70+
71+
```bash
72+
docker build -t yocto-build ./lmp-manifest
73+
```
74+
6775
You will see a confirmation message indicating the image's readiness if the build completes successfully.
6876

6977
#### Run The Docker Image (Builder)
@@ -78,6 +86,12 @@ To run the *`yocto-build`* image and begin an interactive session, use the follo
7886
docker run -v <source>:/dockerVolume -it yocto-build bash
7987
```
8088

89+
If it encounters errors that may relate to entrypoint, you can use the following command instead of the previous command:
90+
91+
```bash
92+
docker run --entrypoint /bin/bash -v <source>:/dockerVolume -it yocto-build
93+
```
94+
8195
Once inside the container, switch to the *`builder`* user to proceed with the build process. The password for the builder user is **builder**:
8296

8397
```bash

0 commit comments

Comments
 (0)