Skip to content

Commit

Permalink
Update examples wording
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623-cargosense committed Feb 29, 2024
1 parent 0fb6514 commit 2086833
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@

To reference a Feature from this repository, add the desired Features to a `devcontainer.json` file. Each Feature has a `README.md` that shows how to reference the Feature and which options are available for that Feature.

The example below installs [actionlint](https://github.com/rhysd/actionlint) using the Feature from this repository.
The example below installs [actionlint](https://github.com/rhysd/actionlint) and [ShellCheck](https://www.shellcheck.net) using the Features from this repository.

```json
{
"name": "my-project-devcontainer",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/CargoSense/devcontainer-features/postgresql-client:1": {
"version": "16"
},
"ghcr.io/CargoSense/devcontainer-features/actionlint:1": {},
"ghcr.io/CargoSense/devcontainer-features/shellcheck:1": {
"version": "latest"
},
Expand Down

0 comments on commit 2086833

Please sign in to comment.