[+] 增加 rust 镜像
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 11s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 11s
This commit is contained in:
parent
f9481bebcb
commit
a8d8f5f210
15
README.md
15
README.md
@ -31,6 +31,19 @@ pip config set global.index-url https://mirrors.martin98.com/repository/pypi-gro
|
||||
npm config set registry https://mirrors.martin98.com/repository/npm-group/
|
||||
```
|
||||
|
||||
#### Rust(cargo 版本 >=1.68)
|
||||
linux:
|
||||
~/.cargo/config
|
||||
Windows:
|
||||
%USERPROFILE%\.cargo\config
|
||||
```toml
|
||||
[source.crates-io]
|
||||
replace-with = 'mirrors'
|
||||
|
||||
[source.mirrors]
|
||||
registry = "sparse+https://mirrors.martin98.com/repository/rust/"
|
||||
```
|
||||
|
||||
#### dockerfile
|
||||
|
||||
```bash
|
||||
@ -50,4 +63,4 @@ docker compose run ubuntu ./init-all.sh
|
||||
|
||||
```bash
|
||||
docker compose run ubuntu-2204 ./init-all.sh
|
||||
```
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user