Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

README.md: Fix Docker instructions without local user info #6

Merged
merged 1 commit into from
Sep 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Next, follow the instructions according to the bootloader choice.
It is recommended to build the binaries inside the `espressif/idf` Docker image.

```bash
docker run --rm -v $PWD:/work -w /work espressif/idf:release-v4.3 ./build_idfboot.sh -c <chip>
docker run --rm --user $(id -u):$(id -g) -v $PWD:/work -w /work espressif/idf:release-v4.3 ./build_idfboot.sh -c <chip>
```

The binaries will be inside `out` directory.
Expand Down Expand Up @@ -81,7 +81,7 @@ git submodule update --init --recursive ext/mbedtls
It is recommended to build the binaries inside the `espressif/idf` Docker image.

```bash
docker run --rm -v $PWD:/work -w /work espressif/idf:release-v4.3 ./build_mcuboot.sh -c <chip>
docker run --rm --user $(id -u):$(id -g) -v $PWD:/work -w /work espressif/idf:release-v4.3 ./build_mcuboot.sh -c <chip>
```

The binaries will be inside `out` directory.
Expand Down