1 Star 0 Fork 0

WONGZEONJYU/inav

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Dockerfile 646 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM ubuntu:jammy
ARG USER_ID
ARG GROUP_ID
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y git cmake make ruby gcc python3 python3-pip gcc-arm-none-eabi ninja-build
RUN if [ "$GDB" = "yes" ]; then apt-get install -y gdb; fi
RUN pip install pyyaml
# if either of these are already set the same as the user's machine, leave them be and ignore the error
RUN addgroup --gid $GROUP_ID inav; exit 0;
RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID inav; exit 0;
USER inav
RUN git config --global --add safe.directory /src
VOLUME /src
WORKDIR /src/build
ENTRYPOINT ["/src/cmake/docker.sh"]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wongjy/inav.git
git@gitee.com:wongjy/inav.git
wongjy
inav
inav
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385