Skip to content

Commit bcd68b5

Browse files
committed
Update dev container links
We already have some comments with links to the containers.dev website, which appears to be the official website for dev containers. This updates the remaining comments to stop using aka.ms links, which I believe is a Microsoft-run short URL service.
1 parent c7de35a commit bcd68b5

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// For format details, see https://aka.ms/devcontainer.json.
1+
// For format details, see https://containers.dev/implementors/json_reference/.
22
{
33
"name": "Rails project development",
44
"dockerComposeFile": "compose.yaml",
@@ -41,6 +41,6 @@
4141
}
4242
},
4343

44-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
44+
// Uncomment to connect as root instead. More info: https://containers.dev/implementors/json_reference/#remoteUser.
4545
// "remoteUser": "root"
4646
}

railties/lib/rails/generators/rails/devcontainer/templates/devcontainer/devcontainer.json.tt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
1+
// For format details, see https://containers.dev/implementors/json_reference/.
2+
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/ruby
33
{
44
"name": "<%= options[:app_name] %>",
55
"dockerComposeFile": "compose.yaml",
@@ -23,7 +23,7 @@
2323
// Configure tool-specific properties.
2424
// "customizations": {},
2525

26-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26+
// Uncomment to connect as root instead. More info: https://containers.dev/implementors/json_reference/#remoteUser.
2727
// "remoteUser": "root",
2828

2929
<%- if !mounts.empty? -%>

railties/test/fixtures/.devcontainer/devcontainer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
1+
// For format details, see https://containers.dev/implementors/json_reference/.
2+
// For config options, see the README at: https://github.com/devcontainers/templates/tree/main/src/ruby
33
{
44
"name": "tmp",
55
"dockerComposeFile": "compose.yaml",
@@ -23,7 +23,7 @@
2323
// Configure tool-specific properties.
2424
// "customizations": {},
2525

26-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26+
// Uncomment to connect as root instead. More info: https://containers.dev/implementors/json_reference/#remoteUser.
2727
// "remoteUser": "root",
2828

2929
// Use 'postCreateCommand' to run commands after the container is created.

0 commit comments

Comments
 (0)