mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
With this change we update Node.js version to 14.17 which is needed because of Eslint 8. Also, we replace the legacy images `circleci/node` with the new images `cimg/node`. See: https://circleci.com/developer/images/image/cimg/node PR Close #43810
24 lines
612 B
Text
24 lines
612 B
Text
# Image metadata and config.
|
|
# Ideally, the Node.js version should match what we use on CI.
|
|
# See `executors > default-executor` in `.circleci/config.yml`.
|
|
FROM cimg/node:14-browsers
|
|
|
|
|
|
LABEL name="Angular dev environment" \
|
|
description="This image can be used to create a dev environment for building Angular." \
|
|
vendor="angular" \
|
|
version="1.0"
|
|
|
|
EXPOSE 4000 4200 4433 5000 8080 9876
|
|
|
|
|
|
# Switch to `root` (CircleCI images use `circleci` as the user).
|
|
USER root
|
|
|
|
|
|
# Configure `Node.js`/`npm`.
|
|
RUN npm config --global set user root
|
|
|
|
|
|
# Go! (And keep going.)
|
|
CMD ["tail", "--follow", "/dev/null"]
|