Remove git config for GitHub URL redirection from Dockerfile
This commit is contained in:
1 parent
606029b332
commit
bf48c9edd2
1 file changed
-2
@@ -38,8 +38,6 @@ ENV PATH=${PREFIX}/bin:${PATH} \
|
|||||||
|
|
||||||
RUN test "$(cmake --version | sed -n '1s/[^0-9]*//p' | cut -d. -f2)" -ge 29
|
RUN test "$(cmake --version | sed -n '1s/[^0-9]*//p' | cut -d. -f2)" -ge 29
|
||||||
|
|
||||||
RUN git config --global url."https://wangguofang.net/github.com/".insteadOf "https://github.com/"
|
|
||||||
|
|
||||||
RUN --mount=type=bind,from=sources,source=rust,target=/tmp/rust \
|
RUN --mount=type=bind,from=sources,source=rust,target=/tmp/rust \
|
||||||
mkdir rust-src \
|
mkdir rust-src \
|
||||||
&& tar -xJf "/tmp/rust/rust-1.99.1-$(uname -m)-unknown-linux-gnu.tar.xz" -C rust-src --strip-components=1 \
|
&& tar -xJf "/tmp/rust/rust-1.99.1-$(uname -m)-unknown-linux-gnu.tar.xz" -C rust-src --strip-components=1 \
|
||||||
|
|||||||
Reference in new issue
Block a user