cimg/ruby pulls statistics
By cimg (24 listings) · Docker Hub · Languages & frameworks
The CircleCI Ruby Docker Convenience Image.
cimg/ruby has 459,402,042 recorded pulls on Docker Hub, an increase of 3.6% over the past 30 days, ranking #20 of 1,291 tracked listings.
About cimg/ruby
This image is designed to supercede the legacy CircleCI Ruby image, circleci/ruby.
cimg/ruby is a Docker image created by CircleCI with continuous integration builds in mind.
Each tag contains a complete Ruby version, the gem command, Bundler, and any binaries and tools that are required for builds to complete successfully in a CircleCI environment.
Table of Contents
Getting Started
This image can be used with the CircleCI docker executor.
For example:
jobs:
build:
docker:
- image: cimg/ruby:2.7.2
steps:
- checkout
- run: ruby --version
In the above example, the CircleCI Ruby Docker image is used for the primary container.
More specifically, the tag 2.7.2 is used meaning the version of Ruby will be Ruby v2.7.2.
You can now use Ruby within the steps for this job.
How This Image Works
This image contains the Ruby programming language.
This includes the gem command as well as Bundler pre-installed.
Variants
Variant images typically contain the same base software, but with a few additional modifications.
Node.js
The Node.js variant is the same Ruby image but with Node.js also installed.
The Node.js variant can be used by appending -node to the end of an existing cimg/ruby tag.
jobs:
build:
docker:
- image: cimg/ruby:2.7-node
steps:
- checkout
- run: ruby --version
- run: node --version
Browsers
The browsers variant is the same Ruby image but with Node.js, Java, Selenium, and browser dependencies pre-installed via apt.
The browsers variant can be used by appending -browser to the end of an existing cimg/ruby tag.
The browsers variant is designed to work in conjunction with the CircleCI Browser Tools orb.
You can use the orb to install a version of Google Chrome and/or Firefox into your build. The image contains all of the supporting tools needed to use both the browser and its driver.
orbs:
browser-tools: circleci/browser-tools@1.1
jobs:
build:
docker:
- image: cimg/ruby:2.7-browsers
steps:
- browser-tools/install-browser-tools
- checkout
- run: |
ruby --version
node --version
java --version
google-chrome --version
Tagging Scheme
This image has the following tagging scheme:
cimg/ruby:<ruby-version>[-variant]
<ruby-version> - The version of Ruby to use.
This can be a full SemVer point release (such as 3.2.0) or just the minor release (such as 3.2).
If you use the minor release tag, it will automatically point to future patch updates as they are released.
For example, the tag 3.2 points to Ruby v3.2.0 now, but when the next release comes out, it will point to Ruby v3.2.1.
[-variant] - Variant tags, if available, can optionally be used.
For example, the Node.js variant can be used like this: cimg/ruby:3.2.0-node.
Development
Images can be built and run locally with this repository. This has the following requirements:
- local machine of Linux (Ubuntu tested) or macOS
- modern version of Bash (v4+)
- modern version of Docker Engine (v19.03+)
Cloning For Community Users (no write access to this repository)
Fork this repository on GitHub.
When you get your clone URL, you'll want to add --recurse-submodules to the clone command in order to populate the Git submodule contained in this repo.
It would look something like this:
git clone --recurse-submodules <my-clone-url>
If you missed this step and already cloned, you can just run git submodule update --recursive to populate the submodule.
Then you can optionally add this repo as an upstream to your own:
git remote add upstream https://github.com/CircleCI-Public/cimg-ruby.git
Cloning For Maintainers ( you have write access to this repository)
Clone the project with the following command so that you populate the submodule:
git clone --recurse-submodules git@github.com:CircleCI-Public/cimg-ruby.git
Generating Dockerfiles
Dockerfiles can be generated for a specific Ruby version using the gen-dockerfiles.sh script.
For example, to generate the Dockerfile for Ruby v3.2.0, you would run the following from the root of the repo:
./shared/gen-dockerfiles.sh 3.2.0
The generated Dockerfile will be located at ./3.2/Dockefile.
To build this image locally and try it out, you can run the following:…
Description from the Docker Hub listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar Docker Hub Languages & frameworks plugins
All 20 cimg/ruby alternativesData source
Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.
Listing: https://hub.docker.com/r/cimg/ruby. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.