Skip to content

Commit

Permalink
Fix git perms issue during docker copter build
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywarhurst committed Oct 18, 2024
1 parent 145cc4b commit 581eb18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ RUN SKIP_AP_EXT_ENV=$SKIP_AP_EXT_ENV SKIP_AP_GRAPHIC_ENV=$SKIP_AP_GRAPHIC_ENV SK
USER=${USER_NAME} \
Tools/environment_install/install-prereqs-ubuntu.sh -y

# Rectify git perms issue that seems to crop up only on OSX
RUN git config --global --add safe.directory $PWD

# Check that local/bin are in PATH for pip --user installed package
RUN echo "if [ -d \"\$HOME/.local/bin\" ] ; then\nPATH=\"\$HOME/.local/bin:\$PATH\"\nfi" >> ~/.ardupilot_env

Expand Down

0 comments on commit 581eb18

Please sign in to comment.