5 ENV DEBIAN_FRONTEND noninteractive
7 RUN apt-get update && apt-get install -y git cmake make ruby gcc python3 python3-pip gcc-arm-none-eabi ninja-build
9 RUN if [ "$GDB" = "yes" ]; then apt-get install -y gdb; fi
11 RUN pip install pyyaml
13 # if either of these are already set the same as the user's machine, leave them be and ignore the error
14 RUN addgroup --gid $GROUP_ID inav; exit 0;
15 RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID inav; exit 0;
19 RUN git config --global --add safe.directory /src
24 ENTRYPOINT ["/src/cmake/docker.sh"]