mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Update dev container
This commit is contained in:
@ -3,8 +3,8 @@ ARG VARIANT=16-bullseye
|
|||||||
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
|
FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
|
||||||
|
|
||||||
# [Optional] Uncomment this section to install additional OS packages.
|
# [Optional] Uncomment this section to install additional OS packages.
|
||||||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
|
||||||
# && apt-get -y install --no-install-recommends <your-package-list-here>
|
&& apt-get -y install --no-install-recommends iputils-ping curl
|
||||||
|
|
||||||
# [Optional] Uncomment if you want to install an additional version of node using nvm
|
# [Optional] Uncomment if you want to install an additional version of node using nvm
|
||||||
# ARG EXTRA_NODE_VERSION=10
|
# ARG EXTRA_NODE_VERSION=10
|
||||||
@ -12,3 +12,5 @@ FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT}
|
|||||||
|
|
||||||
# [Optional] Uncomment if you want to install more global node packages
|
# [Optional] Uncomment if you want to install more global node packages
|
||||||
# RUN su node -c "npm install -g <your-package-list -here>"
|
# RUN su node -c "npm install -g <your-package-list -here>"
|
||||||
|
RUN su node -c "npm install -g npm-check-updates cgr" \
|
||||||
|
&& su node -c "cgr use taobao"
|
Reference in New Issue
Block a user