Update dev container

This commit is contained in:
DefectingCat
2022-08-10 03:05:21 +00:00
parent 82b35ab96c
commit 90be11776d

View File

@ -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"