Skip to content

Commit

Permalink
Add workaround for git dubious ownership issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Jun 10, 2024
1 parent f2e7d79 commit 4c4eb39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ci/docker/host-x86_64/riscv64gc-gnu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ RUN rm -rf /tmp/riscv-pk
COPY scripts/sccache.sh /scripts/
RUN sh /scripts/sccache.sh

# Avoid "fatal: detected dubious ownership in repository at '/checkout'" error
RUN git config --global --add safe.directory /checkout

ENV RUST_CONFIGURE_ARGS --qemu-riscv64-rootfs=/tmp/rootfs
ENV SCRIPT python3 ../x.py --stage 2 test --host='' --target riscv64gc-unknown-linux-gnu

Expand Down

0 comments on commit 4c4eb39

Please sign in to comment.