Skip to content

Commit b4879f0

Browse files
committed
Update devcontainer configuration
1 parent 40412ec commit b4879f0

File tree

3 files changed

+3
-93
lines changed

3 files changed

+3
-93
lines changed

.devcontainer/Dockerfile

Lines changed: 0 additions & 17 deletions
This file was deleted.

.devcontainer/base.Dockerfile

Lines changed: 0 additions & 43 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,8 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2-
// https://github.com/microsoft/vscode-dev-containers/tree/v0.209.6/containers/ruby
31
{
4-
"name": "Ruby",
5-
"build": {
6-
"dockerfile": "Dockerfile",
7-
"args": {
8-
// Update 'VARIANT' to pick a Ruby version: 3, 3.0, 2, 2.7, 2.6
9-
// Append -bullseye or -buster to pin to an OS version.
10-
// Use -bullseye variants on local on arm64/Apple Silicon.
11-
"VARIANT": "3-bullseye",
12-
// Options
13-
"NODE_VERSION": "lts/*"
14-
}
15-
},
16-
17-
// Add the IDs of extensions you want installed when the container is created.
18-
"customizations": {
19-
"vscode": {
20-
"extensions": [
21-
"Shopify.ruby-lsp"
22-
]
23-
}
24-
},
25-
26-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
27-
// "forwardPorts": [],
28-
29-
// Use 'postCreateCommand' to run commands after the container is created.
30-
// "postCreateCommand": "ruby --version",
31-
32-
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
33-
"remoteUser": "vscode",
2+
"name": "thor",
3+
"image": "ghcr.io/rails/devcontainer/images/ruby:3.4.5",
344

355
"features": {
36-
"github-cli": "latest"
6+
"ghcr.io/devcontainers/features/github-cli:1": {}
377
}
388
}

0 commit comments

Comments
 (0)