godlikeme commited on
Commit
f73de5f
·
verified ·
1 Parent(s): 4efdb6b

增加扩展

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -51,6 +51,10 @@ RUN bash -c "source /home/coder/.nvm/nvm.sh && nvm install --lts && nvm alias de
51
  RUN echo "alias ll='ls -alF'" >> /home/coder/.bashrc && \
52
  echo "alias ls='ls --color=auto'" >> /home/coder/.bashrc
53
 
 
 
 
 
54
  # 创建默认 README.md
55
  RUN mkdir -p "$DEFAULT_WORKSPACE" && \
56
  echo "# 开发环境说明" > "$DEFAULT_WORKSPACE/README.md" && \
 
51
  RUN echo "alias ll='ls -alF'" >> /home/coder/.bashrc && \
52
  echo "alias ls='ls --color=auto'" >> /home/coder/.bashrc
53
 
54
+ # 安装 VS Code 扩展
55
+ RUN code-server --install-extension ms-python.python && \
56
+ code-server --install-extension tencent-cloud.coding-copilot
57
+
58
  # 创建默认 README.md
59
  RUN mkdir -p "$DEFAULT_WORKSPACE" && \
60
  echo "# 开发环境说明" > "$DEFAULT_WORKSPACE/README.md" && \