File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
crates/cargo-test-support/containers Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,9 @@ RUN git config --global user.email "testuser@example.com" &&\
1010 git init -b master . &&\
1111 git add Cargo.toml src &&\
1212 git commit -m "Initial commit" &&\
13- mv .git ../bar.git &&\
14- cd ../bar.git &&\
15- git config --bool core.bare true &&\
16- rm -rf ../bar
13+ cd .. &&\
14+ git clone --bare bar bar.git &&\
15+ rm -rf bar
1716WORKDIR /
1817
1918EXPOSE 443
Original file line number Diff line number Diff line change @@ -17,10 +17,9 @@ RUN git config --global user.email "testuser@example.com" &&\
1717 git init -b master . &&\
1818 git add Cargo.toml src &&\
1919 git commit -m "Initial commit" &&\
20- mv .git ../bar.git &&\
21- cd ../bar.git &&\
22- git config --bool core.bare true &&\
23- rm -rf ../bar
20+ cd .. &&\
21+ git clone --bare bar bar.git &&\
22+ rm -rf bar
2423WORKDIR /
2524USER root
2625
You can’t perform that action at this time.
0 commit comments