Skip to content

Commit 674497a

Browse files
author
digoal
committed
new doc
1 parent 7451e68 commit 674497a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

202403/20240327_01.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ PostgreSQL , PolarDB , DuckDB , docker , github , 墙 , 代理
1414
## 背景
1515
在docker build时, 如果github无法访问怎么办?
1616
```
17+
在Dockerfile中加入:
1718
# set to empty if GitHub is not barriered
1819
# ENV GITHUB_PROXY=https://ghproxy.com/
1920
ENV GITHUB_PROXY=
21+
22+
本地运行时:
23+
export GITHUB_PROXY=https://ghproxy.com/
24+
git clone ...
2025
```
2126

2227
在docker 容器中git clone超时或不稳定怎么办?

0 commit comments

Comments
 (0)