Skip to content

Commit 088b7aa

Browse files
RICCIARDI-Adrienstephanosio
authored andcommitted
README: Update the developer image build instructions
The base Docker image is the one in which the user and group IDs can be specified, so all the Docker images must be built in row to generate a developer image with custom user and group IDs. Signed-off-by: Adrien Ricciardi <[email protected]>
1 parent b92c5ab commit 088b7aa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,12 @@ docker run -ti -v $HOME/Work/zephyrproject:/workdir \
6363

6464
#### Building Developer Docker Image
6565

66-
The developer docker image can be built using the following command:
66+
The developer docker image can be built using the following commands:
6767

6868
```
69-
docker build -f Dockerfile.devel --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t zephyr-build:v<tag> .
69+
docker build -f Dockerfile.base --build-arg UID=$(id -u) --build-arg GID=$(id -g) -t zephyr-ci-base:v<tag> .
70+
docker build -f Dockerfile.ci --build-arg BASE_IMAGE=zephyr-ci-base:v<tag> -t zephyr-ci:v<tag> .
71+
docker build -f Dockerfile.devel --build-arg BASE_IMAGE=zephyr-ci:v<tag> -t zephyr-build:v<tag> .
7072
```
7173

7274
It can be used for building Zephyr samples and tests by mounting the Zephyr workspace into it:

0 commit comments

Comments
 (0)