|
@@ -43,7 +43,6 @@ RUN npm config set registry http://registry.npm.taobao.org --global
|
|
|
LABEL email="liuyuqi<liuyuqi.gov@msn.cn>"
|
|
|
WORKDIR /workspaces
|
|
|
# RUN mvn package
|
|
|
-VOLUME [ "/workspaces" ]
|
|
|
|
|
|
RUN apt-get install -y wget unzip openssh-server
|
|
|
RUN ln -s /usr/bin/python3.9 /usr/bin/python
|
|
@@ -62,4 +61,22 @@ RUN echo '\n\
|
|
|
export GOPROXY="https://goproxy.io,direct" \n\
|
|
|
' >> ~/.bashrc
|
|
|
|
|
|
+
|
|
|
+# install vscode and extension
|
|
|
+RUN curl -fsSL https://code-server.dev/install.sh | sh &&\
|
|
|
+ code-server --install-extension redhat.vscode-yaml &&\
|
|
|
+ code-server --install-extension orta.vscode-jest &&\
|
|
|
+ code-server --install-extension dbaeumer.vscode-eslint &&\
|
|
|
+ code-server --install-extension ms-python.python &&\
|
|
|
+ code-server --install-extension ms-azuretools.vscode-docker &&\
|
|
|
+ code-server --install-extension mhutchie.git-graph &&\
|
|
|
+ code-server --install-extension ardisaurus.gitflow-actions-sidebar &&\
|
|
|
+ code-server --install-extension Dart-Code.flutter &&\
|
|
|
+ code-server --install-extension golang.go &&\
|
|
|
+ code-server --install-extension Vue.volar &&\
|
|
|
+ code-server --install-extension eamodio.gitlens &&\
|
|
|
+ echo done
|
|
|
+
|
|
|
+VOLUME [ "/workspaces" ]
|
|
|
+
|
|
|
CMD [ "/bin/bash" ]
|