Skip to content

Commit d651ca5

Browse files
Update Ruby version to 4 in Dockerfile and related documentation
1 parent 8d4c403 commit d651ca5

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

src/ruby-rails-postgres/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/ruby:2-${templateOption:imageVariant}
1+
FROM mcr.microsoft.com/devcontainers/ruby:3-${templateOption:imageVariant}
22

33
# Install Rails
44
RUN su vscode -c "gem install rails webdrivers"

src/ruby-rails-postgres/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Develop Ruby on Rails applications with Postgres. Includes a Rails application c
77

88
| Options Id | Description | Type | Default Value |
99
|-----|-----|-----|-----|
10-
| imageVariant | Ruby version (use -trixie, -bookworm, -bullseye variants on local arm64/Apple Silicon) : | string | 3.4-trixie |
10+
| imageVariant | Ruby version (use -trixie, -bookworm, -bullseye variants on local arm64/Apple Silicon) : | string | 4-trixie |
1111

1212
This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.
1313

src/ruby-rails-postgres/devcontainer-template.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "ruby-rails-postgres",
3-
"version": "5.0.0",
3+
"version": "6.0.0",
44
"name": "Ruby on Rails & Postgres",
55
"description": "Develop Ruby on Rails applications with Postgres. Includes a Rails application container and PostgreSQL server.",
66
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/ruby-rails-postgres",
@@ -11,15 +11,15 @@
1111
"type": "string",
1212
"description": "Ruby version (use -bookworm, -bullseye variants on local arm64/Apple Silicon):",
1313
"proposals": [
14-
"3-trixie",
14+
"4-trixie",
1515
"3.4-trixie",
1616
"3.3-trixie",
1717
"3.2-trixie",
18-
"3-bookworm",
18+
"4-bookworm",
1919
"3.4-bookworm",
2020
"3.3-bookworm",
2121
"3.2-bookworm",
22-
"3-bullseye",
22+
"4-bullseye",
2323
"3.4-bullseye",
2424
"3.3-bullseye",
2525
"3.2-bullseye"

src/ruby/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Develop Ruby based applications. includes everything you need to get up and runn
77

88
| Options Id | Description | Type | Default Value |
99
|-----|-----|-----|-----|
10-
| imageVariant | Ruby version (use -trixie, -bookworm, -bullseye variants on local arm64/Apple Silicon) : | string | 3.4-trixie |
10+
| imageVariant | Ruby version (use -trixie, -bookworm, -bullseye variants on local arm64/Apple Silicon) : | string | 4-trixie |
1111

1212
This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.
1313

src/ruby/devcontainer-template.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "ruby",
3-
"version": "5.0.0",
3+
"version": "6.0.0",
44
"name": "Ruby",
55
"description": "Develop Ruby based applications. includes everything you need to get up and running.",
66
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/ruby",
@@ -11,20 +11,20 @@
1111
"type": "string",
1212
"description": "Ruby version (use -trixie, -bookworm, -bullseye variants on local arm64/Apple Silicon):",
1313
"proposals": [
14-
"3-trixie",
14+
"4-trixie",
1515
"3.4-trixie",
1616
"3.3-trixie",
1717
"3.2-trixie",
18-
"3-bookworm",
18+
"4-bookworm",
1919
"3.4-bookworm",
2020
"3.3-bookworm",
2121
"3.2-bookworm",
22-
"3-bullseye",
22+
"4-bullseye",
2323
"3.4-bullseye",
2424
"3.3-bullseye",
2525
"3.2-bullseye"
2626
],
27-
"default": "3.4-trixie"
27+
"default": "4-trixie"
2828
}
2929
},
3030
"platforms": ["Ruby"],

0 commit comments

Comments
 (0)