Skip to content

Commit

Permalink
Ruby: Release 3.3 (#905)
Browse files Browse the repository at this point in the history
Co-authored-by: Eljo George <[email protected]>
  • Loading branch information
tiagogodinho and eljog authored Jan 17, 2024
1 parent a0a30cc commit 02165dc
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ruby/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.2, 3.1, 3.0, 3-bookworm, 3.2-bookworm, 3.1-bookworm, 3-bullseye, 3.2-bullseye, 3.1-bullseye, 3.0-bullseye, 3-buster, 3.2-buster 3.1-buster, 3.0-buster
# [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.3, 3.2, 3.1, 3.0, 3-bookworm, 3.3-bookworm, 3.2-bookworm, 3.1-bookworm, 3-bullseye, 3.3-bullseye, 3.2-bullseye, 3.1-bullseye, 3.0-bullseye, 3-buster, 3.2-buster 3.1-buster, 3.0-buster
ARG VARIANT=3-bookworm
FROM ruby:${VARIANT}

Expand Down
3 changes: 2 additions & 1 deletion src/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| *Categories* | Core, Languages |
| *Image type* | Dockerfile |
| *Published images* | mcr.microsoft.com/devcontainers/ruby |
| *Available image variants* | 3 / 3-bookworm, 3.2 / 3.2-bookworm, 3.1 / 3.1-bookworm, 3.0 / 3.0-bullseye, 3-bullseye, 3.2-bullseye, 3.1-bullseye, 3-buster, 3.2-buster, 3.1-buster, 3.0-buster ([full list](https://mcr.microsoft.com/v2/devcontainers/ruby/tags/list)) |
| *Available image variants* | 3 / 3-bookworm, 3.3 / 3.3-bookworm, 3.2 / 3.2-bookworm, 3.1 / 3.1-bookworm, 3.0 / 3.0-bullseye, 3-bullseye, 3.3-bullseye, 3.2-bullseye, 3.1-bullseye, 3-buster, 3.2-buster, 3.1-buster, 3.0-buster ([full list](https://mcr.microsoft.com/v2/devcontainers/ruby/tags/list)) |
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm` , and `bullseye` variants |
| *Container host OS support* | Linux, macOS, Windows |
| *Container OS* | Debian |
Expand All @@ -23,6 +23,7 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag

- `mcr.microsoft.com/devcontainers/ruby` (latest)
- `mcr.microsoft.com/devcontainers/ruby:3` (or `3-bookworm`, `3-bullseye`, `3-buster` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/ruby:3.3` (or `3.3-bookworm`, `3.3-bullseye` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/ruby:3.2` (or `3.2-bookworm`, `3.2-bullseye`, `3.2-buster` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/ruby:3.1` (or `3.1-bookworm`, `3.1-bullseye`, `3.1-buster` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/ruby:3.0` (or `3.0-bullseye`, `3.0-buster` to pin to an OS version)
Expand Down
24 changes: 20 additions & 4 deletions src/ruby/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"version": "1.0.7",
"variants": [
"3.3-bookworm",
"3.2-bookworm",
"3.1-bookworm",
"3.3-bullseye",
"3.2-bullseye",
"3.1-bullseye",
"3.0-bullseye",
Expand All @@ -11,9 +13,13 @@
"3.0-buster"
],
"build": {
"latest": "3.2-bookworm",
"latest": "3.3-bookworm",
"rootDistro": "debian",
"architectures": {
"3.3-bookworm": [
"linux/amd64",
"linux/arm64"
],
"3.2-bookworm": [
"linux/amd64",
"linux/arm64"
Expand All @@ -22,6 +28,10 @@
"linux/amd64",
"linux/arm64"
],
"3.3-bullseye": [
"linux/amd64",
"linux/arm64"
],
"3.2-bullseye": [
"linux/amd64",
"linux/arm64"
Expand All @@ -48,22 +58,28 @@
"ruby:${VERSION}-${VARIANT}"
],
"variantTags": {
"3.2-bookworm": [
"3.3-bookworm": [
"ruby:${VERSION}-3",
"ruby:${VERSION}-3.2",
"ruby:${VERSION}-3.3",
"ruby:${VERSION}-3-bookworm",
"ruby:${VERSION}-bookworm"
],
"3.2-bookworm": [
"ruby:${VERSION}-3.2"
],
"3.1-bookworm": [
"ruby:${VERSION}-3.1"
],
"3.0-bullseye": [
"ruby:${VERSION}-3.0"
],
"3.2-bullseye": [
"3.3-bullseye": [
"ruby:${VERSION}-3-bullseye",
"ruby:${VERSION}-bullseye"
],
"3.2-bullseye": [
"ruby:${VERSION}-3.2-bullseye"
],
"3.2-buster": [
"ruby:${VERSION}-3-buster",
"ruby:${VERSION}-buster"
Expand Down

0 comments on commit 02165dc

Please sign in to comment.