Skip to content

Commit 0fe44fe

Browse files
Merge branch 'devcontainers:gh-pages' into gh-pages
2 parents 4c7f6ce + 1606dd0 commit 0fe44fe

File tree

7 files changed

+111
-11
lines changed

7 files changed

+111
-11
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!--
2+
📖 Before submitting a Pull Request, please ensure you've read the Contributing Guide: https://containers.dev/implementors/contributing/
3+
-->
4+
5+
## What type of PR is this?
6+
7+
- [ ] Add a new dev container collection
8+
- [ ] Update to an existing dev container collection
9+
- [ ] Documentation/spec update
10+
- [ ] Other containers.dev site update (UX, layout, etc)
11+
12+
## Related Issues
13+
14+
<!--
15+
For pull requests that relate or close an issue, please include them
16+
below. For example: "closes #1234" would connect the current pull
17+
request to issue 1234. When we merge the pull request, Github will
18+
automatically close the issue.
19+
-->
20+
21+
- Related Issue #
22+
- Closes #
23+
24+
## Description
25+
26+
_Please replace this line with a description of your PR._
27+
28+
### Collection checklist
29+
_If your PR contributes a new collection, please utilize this checklist:_
30+
- [ ] Collection name
31+
- [ ] Maintainer name
32+
- [ ] Maintainer contact link (i.e. link to a GitHub repo, email)
33+
- [ ] Repository URL
34+
- [ ] OCI Reference
35+
- [ ] I acknowledge that this collection provides new functionality, distinct from the existing collections part of this index.

_data/collection-index.yml

+31-1
Original file line numberDiff line numberDiff line change
@@ -639,10 +639,15 @@
639639
repository: https://github.com/mcollier/logic-app-dev-container-template
640640
ociReference: ghcr.io/mcollier/logic-app-dev-container-template
641641
- name: Additional Dev Container Features by prulloac
642-
maintainer: prulloac
642+
maintainer: Pablo Ulloa
643643
contact: https://github.com/prulloac/devcontainer-features/issues
644644
repository: https://github.com/prulloac/devcontainer-features
645645
ociReference: ghcr.io/prulloac/devcontainer-features
646+
- name: Additional Dev Container Templates by prulloac
647+
maintainer: Pablo Ulloa
648+
contact: https://github.com/prulloac/devcontainer-templates/issues
649+
repository: https://github.com/prulloac/devcontainer-templates
650+
ociReference: ghcr.io/prulloac/devcontainer-templates
646651
- name: Additional Dev Container Features by LumenPink
647652
maintainer: lumenpink
648653
contact: https://github.com/lumenpink/devcontainer-features/issues
@@ -708,3 +713,28 @@
708713
contact: https://github.com/dlouwers/devcontainer-features/issues
709714
repository: https://github.com/dlouwers/devcontainer-features
710715
ociReference: ghcr.io/dlouwers/devcontainer-features
716+
- name: Dev Container Features by kreemer
717+
maintainer: kreemer
718+
contact: https://github.com/kreemer/features/issues
719+
repository: https://github.com/kreemer/features
720+
ociReference: ghcr.io/kreemer/features
721+
- name: Dev Container Features by Vero
722+
maintainer: Vero
723+
contact: https://github.com/veronoicc/devcontainer-features/issues
724+
repository: https://github.com/veronoicc/devcontainer-features
725+
ociReference: ghcr.io/veronoicc/devcontainer-features
726+
- name: Dev Container Templates by joshuanianji
727+
maintainer: joshuanianji
728+
contact: https://github.com/joshuanianji/devcontainer-templates/issues
729+
repository: https://github.com/joshuanianji/devcontainer-templates
730+
ociReference: ghcr.io/joshuanianji/devcontainer-templates
731+
- name: OpenCodeCo Dev Containers goodies
732+
maintainer: leocavalcante
733+
contact: https://github.com/orgs/opencodeco/discussions
734+
repository: https://github.com/opencodeco/devcontainers
735+
ociReference: ghcr.io/opencodeco/devcontainers
736+
- name: Dev Container Features by Valentin
737+
maintainer: Valentin Heiligers
738+
contact: https://github.com/va-h/devcontainers-features/issues
739+
repository: https://github.com/va-h/devcontainers-features
740+
ociReference: ghcr.io/va-h/devcontainers-features

_implementors/contributing.md

+27-4
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ index: 9
88

99
We're excited for your contributions to the Dev Container Specification! This document outlines how you can get involved. We also welcome you to join our [community Slack channel](https://aka.ms/dev-container-community).
1010

11-
## <a href="#contribution-approaches" name="contribution-approaches" class="anchor"> Contribution approaches </a>
11+
## <a href="#contribution-approaches" name="contribution-approaches" class="anchor"> Spec Contribution approaches </a>
1212

13-
- Propose the change via an [issue](https://github.com/devcontainers/spec/issues) in the [spec repo](https://github.com/devcontainers/spec). Try to get early feedback before spending too much effort formalizing it.
14-
- More formally document the proposed change in terms of properties and their semantics. Look to format your proposal like our [devcontainer.json reference](../json_reference), which is a JSON with Comments (jsonc) format.
13+
If you'd like to contribute a change or addition to the spec, you may follow the guidance below:
14+
- Propose the change via an [issue](https://github.com/devcontainers/spec/issues) in this repository. Try to get early feedback before spending too much effort formalizing it.
15+
- More formally document the proposed change in terms of properties and their semantics. Look to format your proposal like our [devcontainer.json reference](https://aka.ms/devcontainer.json).
1516

16-
Here is a sample proposal:
17+
Here is a sample:
1718

1819
| Property | Type | Description |
1920
|:------------------|:------------|:------------|
@@ -43,6 +44,20 @@ Tool-specific properties are contained in namespaces in the `"customizations"` p
4344

4445
You may propose adding a new namespace for a specific tool, and any properties specific to that tool.
4546

47+
### <a href="#formatting-guidelines" name="formatting-guidelines" class="anchor"> Formatting Guidelines </a>
48+
49+
When contributing an official doc or referencing dev containers in your projects, please consider the following guidelines:
50+
51+
- Refer to the spec as the "Development Container Specification"
52+
- All capital letters
53+
- Singular "Container" rather than plural "Containers"
54+
- The term "dev container" shouldn't be capitalized on its own
55+
- It should only be capitalized when referring to an official tool title, like the VS Code Dev Containers extension
56+
- Signify `devcontainer.json` is a file type through backticks
57+
- Features and Templates should always be capitalized
58+
- Refer to the CLI as the "Dev Container CLI" (note the caps)
59+
- Use bolding for emphasis sprinkled throughout sections, rather than try to use it to always bold certain terms
60+
4661
## <a href="#review-process" name="review-process" class="anchor"> Review process </a>
4762

4863
We use the following [labels](https://github.com/devcontainers/spec/labels) in the spec repo:
@@ -51,3 +66,11 @@ We use the following [labels](https://github.com/devcontainers/spec/labels) in t
5166
- `finalization`: Proposals we intend to make part of the spec.
5267

5368
[Milestones](https://github.com/devcontainers/spec/milestones) use a "month year" pattern (i.e. January 2022). If a finalized proposal is added to a milestone, it is intended to be merged during that milestone.
69+
70+
## <a href="#community-engagement" name="community-engagement" class="anchor"> Community Engagement </a>
71+
72+
There are several additional options to engage with the dev container community, such as asking questions, providing feedback, or engaging on how your team may use or contribute to dev containers:
73+
- [GitHub Discussions](https://github.com/devcontainers/spec/discussions): This is a great opportunity to connect with the community and maintainers of this project, without the requirement of contributing a change to the actual spec (which we see more in issues and PRs)
74+
- [Community Slack channel](https://aka.ms/dev-container-community): This is a great opportunity to connect with the community and maintainers
75+
- You can always check out the issues and PRs (and contribute new ones) across the repos in the [Dev Containers GitHub org](https://github.com/devcontainers) too!
76+
- Community collections: You can contribute your own [Templates](https://containers.dev/implementors/templates-distribution/#distribution) and [Features](https://containers.dev/implementors/features-distribution/#distribution) to our [community index](https://containers.dev/collections)!

_implementors/json_reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Variables can be referenced in certain string values in `devcontainer.json` in t
164164

165165
| Variable | Properties | Description |
166166
|:------------------|:------------|:------------|
167-
| `${localEnv:VARIABLE_NAME}` | Any | Value of an environment variable on the **host machine** (in this case, called `VARIABLE_NAME`). Unset variables are left blank. For example, this would set a variable to your local home folder on Linux / macOS or the user folder on Windows:<br/> `"remoteEnv": { "LOCAL_USER_PATH": "${localEnv:HOME}${localEnv:USERPROFILE}" }` <br /><br /> A default value for when the environment variable is not set can be given with `${localEnv:VARIABLE_NAME:default_value}`. <br /><br /> ⚠️ For a cloud service, the host is in the cloud rather than your local machine. |
167+
| `${localEnv:VARIABLE_NAME}` | Any | Value of an environment variable on the **host machine** (in the examples below, called `VARIABLE_NAME`). Unset variables are left blank. <br /><br /> ⚠️ Clients (like VS Code) may need to be **restarted** to pick up newly set variables. <br /><br /> ⚠️ For a cloud service, the host is in the cloud rather than your local machine. <br /><br /> **Examples** <br /><br /> **1.** Set a variable containing your local home folder on Linux / macOS or the user folder on Windows:<br/> `"remoteEnv": { "LOCAL_USER_PATH": "${localEnv:HOME}${localEnv:USERPROFILE}" }`. <br /><br /> A default value for when the environment variable is not set can be given with `${localEnv:VARIABLE_NAME:default_value}`. <br /><br /> **2.** In modern versions of macOS, default configurations allow setting local variables with the command `echo 'export VARIABLE_NAME=my-value' >> ~/.zshenv`. |
168168
| `${containerEnv:VARIABLE_NAME}` | `remoteEnv` | Value of an existing environment variable inside the container once it is up and running (in this case, called `VARIABLE_NAME`). For example:<br /> `"remoteEnv": { "PATH": "${containerEnv:PATH}:/some/other/path" }` <br /><br /> A default value for when the environment variable is not set can be given with `${containerEnv:VARIABLE_NAME:default_value}`. |
169169
| `${localWorkspaceFolder}` | Any | Path of the local folder that was opened in the `devcontainer.json` supporting service / tool (that contains `.devcontainer/devcontainer.json`). |
170170
| `${containerWorkspaceFolder}` | Any | The path that the workspaces files can be found in the container. |

contributing.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# How to Contribute to the Dev Container Specification
22

3-
We're excited for your contributions to the dev container specification! This document outlines how you can get involved.
3+
We're excited for your contributions to the Dev Container Specification! This document outlines how you can get involved. We also welcome you to join our [community Slack channel](https://aka.ms/dev-container-community).
44

5-
## Contribution approaches
5+
## Spec contribution approaches
66

77
If you'd like to contribute a change or addition to the spec, you may follow the guidance below:
88
- Propose the change via an [issue](https://github.com/devcontainers/spec/issues) in this repository. Try to get early feedback before spending too much effort formalizing it.
@@ -16,7 +16,7 @@ Here is a sample:
1616

1717
- PRs to the [schema](https://github.com/microsoft/vscode/blob/main/extensions/configuration-editing/schemas/devContainer.schema.src.json), i.e code or shell scripts demonstrating approaches for implementation.
1818

19-
Once there is discussion on your proposal, please also open and link a PR to update the [devcontainer.json reference doc](https://github.com/microsoft/vscode-docs/blob/main/docs/remote/devcontainerjson-reference.md). When your proposal is merged, the docs will be kept up-to-date with the latest spec.
19+
Once there is discussion on your proposal, please also open and link a PR to update the [devcontainer.json reference doc](https://aka.ms/devcontainer.json). When your proposal is merged, the docs will be kept up-to-date with the latest spec.
2020

2121
### Contributing tool-specific support
2222

@@ -53,7 +53,7 @@ When contributing an official doc or referencing dev containers in your projects
5353

5454
## Review process
5555

56-
We use the following [labels](https://github.com/devcontainers/spec/labels):
56+
We use the following [labels](https://github.com/devcontainers/spec/labels) in the spec repo:
5757

5858
- `proposal`: Issues under discussion, still collecting feedback.
5959
- `finalization`: Proposals we intend to make part of the spec.
@@ -65,4 +65,4 @@ There are several additional options to engage with the dev container community,
6565
- [GitHub Discussions](https://github.com/devcontainers/spec/discussions): This is a great opportunity to connect with the community and maintainers of this project, without the requirement of contributing a change to the actual spec (which we see more in issues and PRs)
6666
- [Community Slack channel](https://aka.ms/dev-container-community): This is a great opportunity to connect with the community and maintainers
6767
- You can always check out the issues and PRs (and contribute new ones) across the repos in the [Dev Containers GitHub org](https://github.com/devcontainers) too!
68-
68+
- Community collections: You can contribute your own [Templates](https://containers.dev/implementors/templates-distribution/#distribution) and [Features](https://containers.dev/implementors/features-distribution/#distribution) to our [community index](https://containers.dev/collections)!

features.html

+6
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ <h1 style="margin-left: auto;margin-right: auto;">Available Dev Container Featur
1818
Please note that if you need to report a Feature, you should do so through the registry hosting the Feature.
1919
</p>
2020

21+
<p>
22+
To add your own collection to this list, please create a PR editing <a
23+
href="https://github.com/devcontainers/devcontainers.github.io/blob/gh-pages/_data/collection-index.yml">this
24+
yaml file</a>.
25+
</p>
26+
2127
<input type="text" id="searchInput" placeholder="Search">
2228
<br>
2329
<br>

templates.html

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ <h1 style="margin-left: auto;margin-right: auto;">Available Dev Container Templa
1616
Please note that if you need to report a Template, you should do so through the registry hosting the Template.
1717
</p>
1818

19+
<p>
20+
To add your own collection to this list, please create a PR editing <a
21+
href="https://github.com/devcontainers/devcontainers.github.io/blob/gh-pages/_data/collection-index.yml">this
22+
yaml file</a>.
23+
</p>
24+
1925
<input type="text" id="searchInput" placeholder="Search">
2026
<br>
2127
<br>

0 commit comments

Comments
 (0)