mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
c7d5112771
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> |
||
---|---|---|
.. | ||
_templates | ||
api-guides | ||
api-reference | ||
contribute | ||
get-started | ||
hw-reference | ||
libraries-and-frameworks | ||
migration-guides | ||
security | ||
third-party-tools | ||
404.rst | ||
about.rst | ||
conf.py | ||
COPYRIGHT.rst | ||
index.rst | ||
languages.rst | ||
resources.rst | ||
versions.rst |