mirror of https://github.com/ArduPilot/ardupilot
Docker: Fix git perms issue during copter build
This commit is contained in:
parent
ebfecaddac
commit
4c9da021eb
|
@ -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} \
|
USER=${USER_NAME} \
|
||||||
Tools/environment_install/install-prereqs-ubuntu.sh -y
|
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
|
# 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
|
RUN echo "if [ -d \"\$HOME/.local/bin\" ] ; then\nPATH=\"\$HOME/.local/bin:\$PATH\"\nfi" >> ~/.ardupilot_env
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue