diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index d59927b..0798271 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,8 +3,8 @@ ARG VARIANT=16-bullseye FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:0-${VARIANT} # [Optional] Uncomment this section to install additional OS packages. -# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ -# && apt-get -y install --no-install-recommends +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get -y install --no-install-recommends iputils-ping curl # [Optional] Uncomment if you want to install an additional version of node using nvm # 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 # RUN su node -c "npm install -g " +RUN su node -c "npm install -g npm-check-updates cgr" \ + && su node -c "cgr use taobao" \ No newline at end of file