Skip to content

Commit

Permalink
Base: system width git safe directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Feb 20, 2023
1 parent ee78244 commit 654ae0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile_dev-base
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN apt-get update \

RUN python -m pip install --no-cache-dir -U future lxml pexpect flake8==4.0.1 pycodestyle==2.8.0 empy pyelftools tabulate

RUN mkdir -p /__w/ardupilot/ardupilot && git config --global --add safe.directory /__w/ardupilot/ardupilot && git config --global --add safe.directory '*'
RUN mkdir -p /__w/ardupilot/ardupilot && git config --global --add safe.directory /__w/ardupilot/ardupilot && git config --system --add safe.directory /__w/ardupilot/ardupilot

# Set ccache to the PATH
ENV PATH="/usr/lib/ccache:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile_dev-chibios-py2
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN apt-get update \
RUN wget -q https://bootstrap.pypa.io/pip/2.7/get-pip.py && python get-pip.py && rm -f get-pip.py
RUN python -m pip install --no-cache-dir -U future lxml pexpect flake8 pycodestyle empy pyserial

RUN mkdir -p /__w/ardupilot/ardupilot && git config --global --add safe.directory /__w/ardupilot/ardupilot && git config --global --add safe.directory '*'
RUN mkdir -p /__w/ardupilot/ardupilot && git config --global --add safe.directory /__w/ardupilot/ardupilot && git config --system --add safe.directory /__w/ardupilot/ardupilot

# Set ccache to the PATH
ENV PATH="/usr/lib/ccache:$PATH"
Expand Down

0 comments on commit 654ae0e

Please sign in to comment.