Skip to content
Draft
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-rails-postgres/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/ruby:2-${templateOption:imageVariant}
FROM mcr.microsoft.com/devcontainers/ruby:3-${templateOption:imageVariant}

# Install Rails
RUN su vscode -c "gem install rails webdrivers"
Expand Down
2 changes: 1 addition & 1 deletion src/ruby-rails-postgres/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Develop Ruby on Rails applications with Postgres. Includes a Rails application c

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

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

Expand Down
10 changes: 5 additions & 5 deletions src/ruby-rails-postgres/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "ruby-rails-postgres",
"version": "5.0.0",
"version": "6.0.0",
"name": "Ruby on Rails & Postgres",
"description": "Develop Ruby on Rails applications with Postgres. Includes a Rails application container and PostgreSQL server.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/ruby-rails-postgres",
Expand All @@ -11,20 +11,20 @@
"type": "string",
"description": "Ruby version (use -bookworm, -bullseye variants on local arm64/Apple Silicon):",
"proposals": [
"3-trixie",
"4-trixie",
"3.4-trixie",
"3.3-trixie",
"3.2-trixie",
"3-bookworm",
"4-bookworm",
"3.4-bookworm",
"3.3-bookworm",
"3.2-bookworm",
"3-bullseye",
"4-bullseye",
"3.4-bullseye",
"3.3-bullseye",
"3.2-bullseye"
],
"default": "3.4-trixie"
"default": "4-trixie"
}
},
"platforms": ["Ruby"],
Expand Down
2 changes: 1 addition & 1 deletion src/ruby/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Ruby",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/ruby:2-${templateOption:imageVariant}"
"image": "mcr.microsoft.com/devcontainers/ruby:3-${templateOption:imageVariant}"

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
Expand Down
2 changes: 1 addition & 1 deletion src/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Develop Ruby based applications. includes everything you need to get up and runn

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

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

Expand Down
10 changes: 5 additions & 5 deletions src/ruby/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "ruby",
"version": "5.0.0",
"version": "6.0.0",
"name": "Ruby",
"description": "Develop Ruby based applications. includes everything you need to get up and running.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/ruby",
Expand All @@ -11,20 +11,20 @@
"type": "string",
"description": "Ruby version (use -trixie, -bookworm, -bullseye variants on local arm64/Apple Silicon):",
"proposals": [
"3-trixie",
"4-trixie",
"3.4-trixie",
"3.3-trixie",
"3.2-trixie",
"3-bookworm",
"4-bookworm",
"3.4-bookworm",
"3.3-bookworm",
"3.2-bookworm",
"3-bullseye",
"4-bullseye",
"3.4-bullseye",
"3.3-bullseye",
"3.2-bullseye"
],
"default": "3.4-trixie"
"default": "4-trixie"
}
},
"platforms": ["Ruby"],
Expand Down
Loading