Skip to content

Commit b461c73

Browse files
fix: disable traecli auto-install due to region block, comment in dockerfile
1 parent fc7eb3a commit b461c73

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

images/py-devkit-image-base/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ RUN npm install -g \
3535
@larksuite/cli \
3636
&& npm cache clean --force
3737

38-
RUN sh -c "$(curl -L https://trae.cn/trae-cli/install.sh)" \
39-
&& ln -sf /root/.local/bin/traecli /usr/local/bin/traecli
38+
# Trae CLI: 因地區限制無法在 Docker build 中自動安裝
39+
# 需要時請手動執行:
40+
# sh -c "$(curl -L https://trae.cn/trae-cli/install.sh)"
41+
# RUN sh -c "$(curl -L https://trae.cn/trae-cli/install.sh)" \
42+
# && ln -sf /root/.local/bin/traecli /usr/local/bin/traecli
4043

4144
RUN useradd -m devuser

0 commit comments

Comments
 (0)