build: update the recommended `Dockerfile` for VSCode remote development (#34697)
PR Close #34697
This commit is contained in:
parent
f981dd9175
commit
f87b84593b
|
@ -1,5 +1,6 @@
|
|||
# Image metadata and config.
|
||||
FROM circleci/node:10-browsers # This needs to be in sync with what we use on CI.
|
||||
FROM circleci/node:10-browsers # Ideally, the image version should be what we use on CI.
|
||||
# See `executors > browsers-executor` in `.circleci/config.yml`.
|
||||
|
||||
LABEL name="Angular dev environment" \
|
||||
description="This image can be used to create a dev environment for building Angular." \
|
||||
|
@ -15,7 +16,8 @@ USER root
|
|||
|
||||
# Configure `Node.js`/`npm` and install utilities.
|
||||
RUN npm config --global set user root
|
||||
RUN npm install --global yarn@1.19.1 # This needs to be in sync with what we use on CI.
|
||||
RUN npm install --global yarn@latest # Ideally, the version should be what we use on CI.
|
||||
# See `commands > overwrite_yarn` in `.circleci/config.yml`.
|
||||
|
||||
|
||||
# Go! (And keep going.)
|
||||
|
|
Loading…
Reference in New Issue