esp-idf/docs/en
Jim Mussared c7d5112771 idf-docker-image.rst: Run with current user ID instead of root.
Rather than running the command inside the container as root, which will
mean that any build artifacts created will be owned by root on the host,
run the command as the current user.

This requires setting a temporary home directory as idf.py will try to
access e.g. ~/.cache, so just use /tmp inside the container which is
ephemeral anyway.

This also allows the command to use `git`. without setting the user ID,
`docker run ... git status` will fail with
    fatal: detected dubious ownership in repository at '/project'

Also added the missing explanation for `-w /project`.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-08-01 11:27:34 +10:00
..
_templates doc: Add exact git version & target SoC to feedback form parameters 2020-03-27 11:29:59 +11:00
api-guides idf-docker-image.rst: Run with current user ID instead of root. 2023-08-01 11:27:34 +10:00
api-reference Merge branch 'feature/mcpwm_trigger_driver' into 'master' 2023-07-25 18:50:57 +08:00
contribute docs(contributor_guide): Update install pre-commit instructions 2023-06-29 15:05:58 +02:00
get-started Docs: Update format issues for EN and CN files under get-started folder 2023-07-11 15:03:50 +08:00
hw-reference docs: updated misc docs with H2 specific information. 2023-06-06 09:48:47 +08:00
libraries-and-frameworks Merge branch 'docs/add_Chinese_translation_for_several_short_docs1' into 'master' 2023-05-04 17:25:42 +08:00
migration-guides remove(http2_request): Move http2_request example to idf-extra-components repository 2023-07-03 17:46:16 +05:30
security docs(security): Added host based workflow to enable secure boot externally 2023-07-19 10:11:30 +05:30
third-party-tools docs: fix link_roles not linking correctly for certain files 2020-06-22 20:42:59 +08:00
404.rst docs: update 404.rst 2022-07-04 14:44:29 +08:00
about.rst docs: updated misc docs with H2 specific information. 2023-06-06 09:48:47 +08:00
conf.py docs: update copyright date for docs automatically 2022-01-10 15:05:33 +08:00
COPYRIGHT.rst esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst 2023-04-12 11:17:41 +02:00
index.rst docs/security: Move security related docs in a separate section 2023-06-17 10:04:01 +05:30
languages.rst doc:updated cn translation for language.rst and version.rst to provide new layout for version/target select 2021-03-12 16:15:56 +08:00
resources.rst docs: update redirected links 2022-05-07 13:09:41 +08:00
versions.rst docs: add commands to updating esp-idf versions in windows system 2022-10-19 15:18:01 +08:00