From 90be11776de4d2d701ef7a61196f4e316e65c321 Mon Sep 17 00:00:00 2001 From: DefectingCat Date: Wed, 10 Aug 2022 03:05:21 +0000 Subject: [PATCH] Update dev container --- .devcontainer/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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