Dockerfile 845 B

12345678910111213141516171819202122232425
  1. FROM node:14
  2. RUN apt-get update && apt-get install -y wget unzip openssh-server
  3. # install java 11
  4. # install python3.8
  5. # install go
  6. # install vscode and extension
  7. RUN curl -fsSL https://code-server.dev/install.sh | sh &&\
  8. code-server --install-extension redhat.vscode-yaml &&\
  9. code-server --install-extension orta.vscode-jest &&\
  10. code-server --install-extension dbaeumer.vscode-eslint &&\
  11. code-server --install-extension ms-python.python &&\
  12. code-server --install-extension octref.vetur &&\
  13. code-server --install-extension ms-azuretools.vscode-docker &&\
  14. code-server --install-extension ardisaurus.gitflow-actions-sidebar &&\
  15. code-server --install-extension eamodio.gitlens &&\
  16. echo done
  17. # 指定字符集支持命令行输入中文(根据需要选择字符集)
  18. ENV LANG C.UTF-8
  19. ENV LANGUAGE C.UTF-8