mirror of
https://github.com/xiaoqidun/goenv.git
synced 2024-12-22 05:31:07 +08:00
docs(说明文档): 说明文档命令更换为中国境内镜像地址
This commit is contained in:
parent
573a8a29b1
commit
cb354523ac
10
README.md
10
README.md
@ -5,12 +5,12 @@ golang environment
|
||||
|
||||
## 拉取镜像
|
||||
```
|
||||
docker pull hkccr.ccs.tencentyun.com/xiaoqidun/goenv:latest
|
||||
docker pull ccr.ccs.tencentyun.com/xiaoqidun/goenv:latest
|
||||
```
|
||||
|
||||
## 运行镜像
|
||||
```
|
||||
docker run -it --rm hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
docker run -it --rm ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
```
|
||||
|
||||
# 编译项目
|
||||
@ -19,17 +19,17 @@ docker run -it --rm hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
|
||||
### linux - bash
|
||||
```shell
|
||||
docker run --rm -it -v $(pwd):/go/src/app -w /go/src/app hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
docker run --rm -it -v $(pwd):/go/src/app -w /go/src/app ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
```
|
||||
|
||||
### windows - cmd
|
||||
```bat
|
||||
docker run --rm -it -v %cd%:/go/src/app -w /go/src/app hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
docker run --rm -it -v %cd%:/go/src/app -w /go/src/app ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
```
|
||||
|
||||
### windows - powershell
|
||||
```powershell
|
||||
docker run --rm -it -v "${pwd}:/go/src/app" -w /go/src/app hkccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
docker run --rm -it -v "${pwd}:/go/src/app" -w /go/src/app ccr.ccs.tencentyun.com/xiaoqidun/goenv
|
||||
```
|
||||
|
||||
## 在容器内执行命令进行编译
|
||||
|
Loading…
x
Reference in New Issue
Block a user