mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
test: set safe.directory for git repo in apache container
See f4aa8c8bb1
This commit is contained in:
parent
fc13634f78
commit
699f6f454d
@ -6,6 +6,7 @@ COPY bar /repos/bar
|
||||
WORKDIR /repos/bar
|
||||
RUN git config --global user.email "testuser@example.com" &&\
|
||||
git config --global user.name "Test User" &&\
|
||||
git config --system --add safe.directory '*' &&\
|
||||
git init -b master . &&\
|
||||
git add Cargo.toml src &&\
|
||||
git commit -m "Initial commit" &&\
|
||||
|
Loading…
x
Reference in New Issue
Block a user