Skip to content

Commit 95b8e7d

Browse files
sdwilshfacebook-github-bot
authored andcommitted
docs: add documentation for the feature for the website (#71)
Summary: Pull Request resolved: #71 Reviewed By: bigfootjon Differential Revision: D77396094 Pulled By: sdwilsh fbshipit-source-id: 7a5cf237f414272b160a0c88817dcf5edb92e624
1 parent faee6f8 commit 95b8e7d

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

devcontainer-features/src/dotslash/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A feature to install DotSlash into a Dev Container.
44

5+
It is installed at `/usr/local/bin/dotslash`.
6+
57
## Example Usage
68

79
```json

website/docs/installation.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,17 @@ xattr -r -d com.apple.quarantine ~/Downloads/dotslash-macos.*.tar.gz
6363
cmd /c 'curl.exe -LSfs https://github.com/facebook/dotslash/releases/latest/download/dotslash-windows.tar.gz | tar fxz - -C YOUR_BIN_PATH'
6464
```
6565

66+
## Developer Container
67+
68+
We provide a feature that you can add to your `devcontainer.json` that will
69+
automatically install the latest version of DotSlash to `/usr/local/bin`.
70+
71+
```json
72+
"features": {
73+
"ghcr.io/facebook/devcontainers/features/dotslash:latest": {}
74+
}
75+
```
76+
6677
## GitHub Actions
6778

6879
We provide a GitHub Action to install dotslash for a workflow:

0 commit comments

Comments
 (0)