Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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, 2, 2.7, 3-bullseye,3.2-bullseye, 3.1-bullseye, 3.0-bullseye, 2-bullseye, 2.7-bullseye, 3-buster, 3.2-buster 3.1-buster, 3.0-buster, 2-buster, 2.7-buster
# [Choice] Ruby version (use -bullseye variants on local arm64/Apple Silicon): 3, 3.2, 3.1, 3.0, 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-bullseye
FROM ruby:${VARIANT}

Expand Down
6 changes: 2 additions & 4 deletions 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-bullseye, 3.2 / 3.2-bullseye, 3.1 / 3.1-bullseye, 3.0 / 3.0-bullseye, 2 / 2-bullseye, 2.7 / 2.7-bullseye, 3-buster, 3.2-buster, 3.1-buster, 3.0-buster, 2-buster, 2.7-buster ([full list](https://mcr.microsoft.com/v2/devcontainers/ruby/tags/list)) |
| *Available image variants* | 3 / 3-bullseye, 3.2 / 3.2-bullseye, 3.1 / 3.1-bullseye, 3.0 / 3.0-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 `bullseye` variants |
| *Container host OS support* | Linux, macOS, Windows |
| *Container OS* | Debian |
Expand All @@ -26,8 +26,6 @@ You can directly reference pre-built versions of `Dockerfile` by using the `imag
- `mcr.microsoft.com/devcontainers/ruby:3.2` (or `3.2-bullseye`, `3.2-buster` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/ruby:3.1` (or `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)
- `mcr.microsoft.com/devcontainers/ruby:2` (or `2-bullseye`, `2-buster` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/ruby:2.7` (or `2.7-bullseye`, `2.7-buster` to pin to an OS version)

Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.

Expand All @@ -37,7 +35,7 @@ You can decide how often you want updates by referencing a [semantic version](ht
- `mcr.microsoft.com/devcontainers/ruby:0.203-3` (or `0.203-3-bullseye`, `0.203-3-buster` to pin to an OS version)
- `mcr.microsoft.com/devcontainers/ruby:0.203.3-3` (or `0.203.3-3-bullseye`, `0.202.3-3-buster` to pin to an OS version)

However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `0-2.7`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.
However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `0-3.2`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.

See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/ruby/tags/list).

Expand Down
19 changes: 1 addition & 18 deletions src/ruby/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
"3.2-bullseye",
"3.1-bullseye",
"3.0-bullseye",
"2.7-bullseye",
"3.2-buster",
"3.1-buster",
"3.0-buster",
"2.7-buster"
"3.0-buster"
],
"build": {
"latest": "3.2-bullseye",
Expand All @@ -26,10 +24,6 @@
"linux/amd64",
"linux/arm64"
],
"2.7-bullseye": [
"linux/amd64",
"linux/arm64"
],
"3.2-buster": [
"linux/amd64"
],
Expand All @@ -38,9 +32,6 @@
],
"3.0-buster": [
"linux/amd64"
],
"2.7-buster": [
"linux/amd64"
]
},
"tags": [
Expand All @@ -59,17 +50,9 @@
"3.0-bullseye": [
"ruby:${VERSION}-3.0"
],
"2.7-bullseye": [
"ruby:${VERSION}-2",
"ruby:${VERSION}-2.7",
"ruby:${VERSION}-2-bullseye"
],
"3.2-buster": [
"ruby:${VERSION}-3-buster",
"ruby:${VERSION}-buster"
],
"2.7-buster": [
"ruby:${VERSION}-2-buster"
]
}
},
Expand Down