Skip to content

Latest commit

 

History

History
113 lines (83 loc) · 3.03 KB

README.md

File metadata and controls

113 lines (83 loc) · 3.03 KB

ruby/ruby-docker-images

The Dockerfile is available in this repository.

Built images are available here:

What is this?

This repository consists of two kinds of images. One is for production use, and the other is for development.

An image for development is based on the image for production of the same ruby and ubuntu versions and installed development tools such as build-essential and gdb, in addition. It has -dev suffix after the version number, like rubylang/ruby:3.3.0-dev-noble.

The list of image names in this repository is below:

Images

Ubuntu 24.04 (noble)

  • master
    • rubylang/ruby:master-noble
    • rubylang/ruby:master-dev-noble
    • rubylang/ruby:master-debug-noble
    • rubylang/ruby:master-debug-dev-noble
  • 3.3
    • rubylang/ruby:latest
    • rubylang/ruby:3.3-noble
    • rubylang/ruby:3.3.5-noble
  • 3.2
    • rubylang/ruby:3.2-noble
    • rubylang/ruby:3.2.5-noble
  • 3.1
    • rubylang/ruby:3.1-noble
    • rubylang/ruby:3.1.6-noble

Ubuntu 22.04 (jammy)

  • master
    • rubylang/ruby:master-jammy
    • rubylang/ruby:master-dev-jammy
    • rubylang/ruby:master-debug-jammy
    • rubylang/ruby:master-debug-dev-jammy
  • 3.3
    • rubylang/ruby:latest
    • rubylang/ruby:3.3-jammy
    • rubylang/ruby:3.3.5-jammy
  • 3.2
    • rubylang/ruby:3.2-jammy
    • rubylang/ruby:3.2.5-jammy
  • 3.1
    • rubylang/ruby:3.1-jammy
    • rubylang/ruby:3.1.6-jammy

Ubuntu 20.04 (focal)

  • master
    • rubylang/ruby:master-focal
    • rubylang/ruby:master-dev-focal
    • rubylang/ruby:master-debug-focal
    • rubylang/ruby:master-debug-dev-focal
  • 3.3
    • rubylang/ruby:3.3-focal
    • rubylang/ruby:3.3.5-focal
  • 3.2
    • rubylang/ruby:3.2-focal
    • rubylang/ruby:3.2.5-focal
  • 3.1
    • rubylang/ruby:3.1-focal
    • rubylang/ruby:3.1.6-focal

Misc

We have some other images for special purposes.

  • Preview or Release-candidate versions (e.g. rubylang/ruby:2.7.0-preview1-jammy)
  • Nightly built master (e.g. rubylang/ruby:master-nightly-jammy)
  • Nightly debug built master (e.g. rubylang/ruby:master-debug-nightly-jammy)
  • EOL versions (e.g. rubylang/ruby:2.4.10-jammy)

All the images are based on ubuntu:jammy, and made from just doing make install and installing bundler.

How to build images

rake docker:build ruby_version=<Ruby version you want to build>

You can specify the specific revision in the master branch like:

rake docker:build ruby_version=master:ce798d08de

Build and push for the specific ruby and ubuntu versions

Trigger CircleCI workflow with ruby_version and ubuntu_version pipeline parameters. Nightly build workflow is triggered if the workflow triggered with ruby_version of "nightly". The nightly build workflow only builds images of linux/amd64 platform.

Nightly build workflow

Nightly build workflow is performed by CircleCI's scheduled pipeline system. The build is triggered at 16:00 UTC (01:00 JST) every night.

Author

Kenta Murata

License

MIT