1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 03:19:58 +03:00
Commit graph

7 commits

Author SHA1 Message Date
Murph Murphy
2214e7e2d7 Fix git security issue with docker build
Make the docker user id and group id match the running user's, so that
files built by the container are seen as owned by the current user. Also
set the current directory as "safe" in git so it's able to inspect the
git history.

_note_: this will successfully run in a rootless docker install, but the
created files will have random uid/guids. You'll have to sudo to delete
them or chown them. For normal docker installs there should be no
issues. See [this issue](https://github.com/moby/moby/issues/41497) to
track the rootless problem on the docker side.
2022-11-14 13:39:25 -07:00
Krasiyan Nedelchev
58806a2bd6 extend the build.sh script usage notes; add reference in the dev "Building in Docker.md" 2022-02-01 01:27:16 +01:00
Krasiyan Nedelchev
ced7c44477 add missing bash shebang in the build.sh script 2022-02-01 01:24:26 +01:00
Niccolò Maggioni
15eaeba4e8
Docker CMake support 2020-10-02 16:21:23 +02:00
Niccolò Maggioni
c2c337ec57
Use local Docker image 2019-09-03 18:55:26 +02:00
Andy
4e3f7a07fb Updated local docker toolchain 2017-10-17 22:07:58 -07:00
Aleksandr Kuzmitsky
907e82acdb Try to simplify build target with docker 2017-04-29 00:29:09 +03:00