Update debian_mini
This commit is contained in:
parent
f230b37c69
commit
7383c7cd2a
1 changed files with 6 additions and 3 deletions
|
@ -9,10 +9,13 @@ RUN apt-get -y install apt-utils gcc \
|
|||
less netcat-openbsd git
|
||||
RUN useradd -m user && echo "user:password" | chpasswd
|
||||
|
||||
RUN cd /home/user && git clone --depth=1 https://github.com/ArduPilot/ardupilot
|
||||
RUN cd /home/user && chown -R user:user ./ardupilot
|
||||
RUN cd /home/user && git clone --depth=1 --recurse-submodules --shallow-submodules https://github.com/ArduPilot/ardupilot
|
||||
RUN git config --global --add safe.directory /home/user/ardupilot
|
||||
RUN cd /home/user/ardupilot && bash -c './Tools/gittools/submodule-sync.sh'
|
||||
RUN git config --global --add safe.directory /home/user/ardupilot/modules/ChibiOS
|
||||
RUN cd /home/user && chown -R user:user ./ardupilot
|
||||
# RUN cd /home/user/ardupilot && bash -c './Tools/gittools/submodule-sync.sh'
|
||||
# RUN cd /home/user/ardupilot && git submodule update --depth=1 --force --init
|
||||
# RUN cd /home/user/ardupilot/modules/ChibiOS && git submodule update --depth=1 --force --init
|
||||
|
||||
COPY --chown=user:user ./examples /home/user/examples
|
||||
RUN chmod -R +x /home/user/examples/lua
|
||||
|
|
Loading…
Add table
Reference in a new issue