Image Overview: ruby

Overview: ruby Chainguard Image

Minimal Ruby base image.

Download this Image

The image is available on cgr.dev:

docker pull cgr.dev/chainguard/ruby:latest

Usage

Ruby applications typically require the installation of third-party dependencies through Rubygems. This means that using a fully distroless image for building your application would not work, as these do not include a package manager. In cases like this, you’ll need to implement a multi-stage Docker build that uses one of Chainguard’s -dev Image variants to set up the application.

We encourage you to check out our guide on getting started with Ruby which demonstrates how you can use Chainguard’s Ruby Image in both single- and multi-stage builds.

Last updated: 2024-04-11 12:38