|
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.238.1/containers/ruby |
| 1 | +// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
| 2 | +// README at: https://github.com/devcontainers/templates/tree/main/src/ruby |
3 | 3 | {
|
4 | 4 | "name": "Ruby",
|
5 |
| - "build": { |
6 |
| - "dockerfile": "Dockerfile", |
7 |
| - "args": { |
8 |
| - // Update 'VARIANT' to pick a Ruby version: 3, 3.1, 3.0, 2, 2.7 |
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": "16" |
14 |
| - } |
15 |
| - }, |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/ruby:1-3.3-bullseye" |
| 7 | + |
| 8 | + // Features to add to the dev container. More info: https://containers.dev/features. |
| 9 | + // "features": {}, |
16 | 10 |
|
17 |
| - // Configure tool-specific properties. |
18 |
| - "customizations": { |
19 |
| - // Configure properties specific to VS Code. |
20 |
| - "vscode": { |
21 |
| - // Add the IDs of extensions you want installed when the container is created. |
22 |
| - "extensions": [ |
23 |
| - "rebornix.Ruby" |
24 |
| - ] |
25 |
| - } |
26 |
| - }, |
27 |
| - |
28 | 11 | // Use 'forwardPorts' to make a list of ports inside the container available locally.
|
29 | 12 | // "forwardPorts": [],
|
30 | 13 |
|
31 | 14 | // Use 'postCreateCommand' to run commands after the container is created.
|
32 | 15 | // "postCreateCommand": "ruby --version",
|
33 | 16 |
|
34 |
| - // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
35 |
| - "remoteUser": "vscode", |
36 |
| - "features": { |
37 |
| - "ghcr.io/devcontainers-contrib/features/act:1": {}, |
38 |
| - "ghcr.io/devcontainers/features/docker-in-docker:2": {} |
39 |
| - } |
| 17 | + // Configure tool-specific properties. |
| 18 | + // "customizations": {}, |
40 | 19 |
|
| 20 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 21 | + // "remoteUser": "root" |
41 | 22 | }
|
0 commit comments