From a86ad45a7fdddcc47368ec324333952f83994fdf Mon Sep 17 00:00:00 2001 From: dnomd343 Date: Fri, 21 May 2021 08:40:38 +0800 Subject: [PATCH] docs: README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5374695..7b35d62 100644 --- a/README.md +++ b/README.md @@ -140,14 +140,18 @@ shell> docker restart scutweb 本地构建 ``` -shell> docker build -t tproxy https://github.com/dnomd343/TProxy.git#master -··· +# 克隆仓库 +shell> git clone https://github.com/dnomd343/TProxy.git +shell> cd TProxy +# 构建镜像 +shell> docker build -t tproxy . ``` 交叉构建 ``` -shell> docker buildx build -t dnomd343/tproxy --platform="linux/amd64,linux/arm64,linux/386,linux/arm/v7" https://github.com/dnomd343/TProxy.git#master --load +# 构建并推送至Docker Hub +shell> docker buildx build -t dnomd343/tproxy --platform="linux/amd64,linux/arm64,linux/386,linux/arm/v7" https://github.com/dnomd343/TProxy.git#master --push ``` ## 许可证