Skip to content

Commit

Permalink
Add Ruby 3.3.0 images (#27)
Browse files Browse the repository at this point in the history
* Add ruby version 3.3.0 in all flavours
* Use most recent Debian 12 (bookworm) by default for short Ruby 3.3 tags

---------

Co-authored-by: Andrey Novikov <envek@envek.name>
  • Loading branch information
manuelvanrijn and Envek authored Dec 30, 2023
1 parent 196d1a1 commit 0220069
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 10 deletions.
78 changes: 78 additions & 0 deletions .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,84 @@ jobs:
matrix:
include:

# 3.3.0 on Debian 12
- ruby-version: "3.3.0"
ruby-variant: "jemalloc"
debian-image: "bookworm"
debian-version: "12"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc
quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc
quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc-bookworm
- ruby-version: "3.3.0"
ruby-variant: "jemalloc"
debian-image: "bookworm-slim"
debian-version: "12"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc-slim
quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-slim
quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc-bookworm-slim
- ruby-version: "3.3.0"
ruby-variant: "malloctrim"
debian-image: "bookworm"
debian-version: "12"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim
quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim
quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim-bookworm
- ruby-version: "3.3.0"
ruby-variant: "malloctrim"
debian-image: "bookworm-slim"
debian-version: "12"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim-slim
quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-slim
quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim-bookworm-slim
# 3.3.0 on Debian 11
- ruby-version: "3.3.0"
ruby-variant: "jemalloc"
debian-image: "bullseye"
debian-version: "11"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc-bullseye
- ruby-version: "3.3.0"
ruby-variant: "jemalloc"
debian-image: "bullseye-slim"
debian-version: "11"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc-bullseye-slim
- ruby-version: "3.3.0"
ruby-variant: "malloctrim"
debian-image: "bullseye"
debian-version: "11"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim-bullseye
- ruby-version: "3.3.0"
ruby-variant: "malloctrim"
debian-image: "bullseye-slim"
debian-version: "11"
aliases: |
quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim-bullseye-slim
# 3.3.0 on Debian 10
- ruby-version: "3.3.0"
ruby-variant: "jemalloc"
debian-image: "buster"
debian-version: "10"
- ruby-version: "3.3.0"
ruby-variant: "jemalloc"
debian-image: "buster-slim"
debian-version: "10"
- ruby-version: "3.3.0"
ruby-variant: "malloctrim"
debian-image: "buster"
debian-version: "10"
- ruby-version: "3.3.0"
ruby-variant: "malloctrim"
debian-image: "buster-slim"
debian-version: "10"

# 3.2.2 on Debian 12
- ruby-version: "3.2.2"
ruby-variant: "jemalloc"
Expand Down
35 changes: 25 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,39 @@ These images are intended to be used while [Fullstaq] and [Hongli Lai] haven't b
</a>

## Usage

Pull it directly from the quay.io registry:

```sh
docker pull quay.io/evl.ms/fullstaq-ruby:3.1-jemalloc-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc-slim
```

Or use as base image in your `Dockerfile`:

```docker
ARG RUBY_VERSION=3.2.2-jemalloc
ARG RUBY_VERSION=3.3.0-jemalloc
FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-slim
```

## Flavors

Ruby 3.2.2, 3.1.4, 3.0.6, and 2.7.8 with jemalloc and malloctrim are available. Images are built on top of Debian 10 (buster), 11 (bullseye), also Ruby 3.2 and newer are build on top of Debian 12 (bookworm):
Ruby 3.3.0, 3.2.2, 3.1.4, 3.0.6, and 2.7.8 with jemalloc and malloctrim are available. Images are built on top of Debian 10 (buster), 11 (bullseye), also Ruby 3.2 and newer are build on top of Debian 12 (bookworm):

```sh
# 3.3:
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-bookworm-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-bookworm
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-buster
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-bookworm-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-bookworm
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-buster

# 3.2:
docker pull quay.io/evl.ms/fullstaq-ruby:3.2.2-jemalloc-bookworm-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.2.2-jemalloc-bookworm
Expand Down Expand Up @@ -75,16 +88,18 @@ docker pull quay.io/evl.ms/fullstaq-ruby:2.7.8-malloctrim-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.8-malloctrim-buster
```

Latest patch versions for Ruby 3.2 on Debian 11 (bullseye) are also aliased with shortened tags including major and minor versions only: `3.2.2-jemalloc-bullseye → 3.2-jemalloc`
Latest patch versions for Ruby 3.3 on Debian 12 (bookworm) are also aliased with shortened tags including major and minor versions only: `3.3.0-jemalloc-bookworm → 3.3-jemalloc`

```sh
docker pull quay.io/evl.ms/fullstaq-ruby:3.2-jemalloc-slim # Same as quay.io/evl.ms/fullstaq-ruby:3.2.2-jemalloc-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.2-jemalloc # Same as quay.io/evl.ms/fullstaq-ruby:3.2.2-jemalloc-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.2-malloctrim-slim # Same as quay.io/evl.ms/fullstaq-ruby:3.2.2-malloctrim-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.2-malloctrim # Same as quay.io/evl.ms/fullstaq-ruby:3.2.2-malloctrim-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc-slim # Same as quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-bookworm-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3-jemalloc # Same as quay.io/evl.ms/fullstaq-ruby:3.3.0-jemalloc-bookworm
docker pull quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim-slim # Same as quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-bookworm-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.3-malloctrim # Same as quay.io/evl.ms/fullstaq-ruby:3.3.0-malloctrim-bookworm
```

For Ruby 3.0 and older, short aliases for latest patch versions are made against Debian 10 (buster): `3.0.6-jemalloc-buster → 3.0-jemalloc`
For Ruby 3.2 and 3.1, short aliases for latest patch versions are made against Debian 11 (bullseye): `3.2.2-jemalloc-bullseye → 3.2-jemalloc`

For Ruby 3.0 and 2.7, short aliases for latest patch versions are made against Debian 10 (buster): `3.0.6-jemalloc-buster → 3.0-jemalloc`


## Details
Expand Down

0 comments on commit 0220069

Please sign in to comment.