CircleCI images for Ruby.
Why
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.
git,ssh,tar,ca-certificates,curl,wget. - Docker tools: latest
docker,docker-compose, anddockerizeare installed - Variants for common use cases, e.g. images with common browsers installed and configured to run in a containized environme…
CircleCI images for Ruby.
Why
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.
git,ssh,tar,ca-certificates,curl,wget. - Docker tools: latest
docker,docker-compose, anddockerizeare installed - 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 asroot(e.g.chrome) or their behavior differs when run asroot(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.
Notable Variants
ruby:<version>
This is the defacto image. If you are unsure about what your needs are, you probably want to use this one for common tools.
Sample Dockerfile
ruby:<version>-browsers
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
User Feedback
Issues
If you have any problems with or questions about this image, please contact us on CircleCI Discuss Forum.