CircleCI images for Node.js.
Docker provides official images for popular languages and services that are aimed to work in common context, whether in development or in production. CircleCI highly recommends using them for creating custom images that are more appropriate for users.
However, we frequently found them lacking some tools making them appropriate for dev/CI use. CircleCI publishes this image to extend the images in the following ways:
- Common tools used in development and CI are installed e.g.
- Variants for common use cases, e.g. images with common browsers installed and configured to run in a containized environment
- Use a non-root user (namely
circleci) by default. Many applications refuse to run as run (e.g.
chrome) or their behavior differs when run as root (e.g.
tarfile ownership behavior)
Aiming to have CircleCI extended images ease adoption of Docker and CircleCI. Once users are successful, we encourage users to build and customize their images to suite their individual project needs.
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one for common tools.
This image makes browser testing easier. It extends the defacto image and installs Firefox and Chrome/chromedriver and configure them to run in a chrontainzied environment
If you have any problems with or questions about this image, please contact us on CircleCI Discuss Forum.