-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(AB#4176) Add devcontainer for codespaces (#150)
This change adds the devcontainer definition for the repository to support contributing in GitHub Codespaces.
- Loading branch information
1 parent
e3f853f
commit 1a31720
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM mcr.microsoft.com/devcontainers/base:ubuntu | ||
RUN wget https://github.com/errata-ai/vale/releases/download/v2.26.0/vale_2.26.0_Linux_64-bit.tar.gz && \ | ||
tar -xvzf vale_2.26.0_Linux_64-bit.tar.gz -C bin && \ | ||
export PATH=./bin:"$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {}, | ||
"ghcr.io/devcontainers/features/powershell:1": { | ||
"modules": "Documentarian,Documentarian.Vale,Documentarian.MicrosoftDocs,Documentarian.ModuleAuthor" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"chrischinchilla.vale-vscode", | ||
"davidanson.vscode-markdownlint", | ||
"docsmsft.docs-images", | ||
"docsmsft.docs-linting", | ||
"docsmsft.docs-markdown", | ||
"docsmsft.docs-preview", | ||
"docsmsft.docs-yaml", | ||
"eamodio.gitlens", | ||
"marvhen.reflow-markdown", | ||
"ms-vscode.powershell", | ||
"ms-vscode.wordcount", | ||
"nhoizey.gremlins", | ||
"redhat.vscode-yaml", | ||
"shuworks.vscode-table-formatter", | ||
"streetsidesoftware.code-spell-checker", | ||
"tyriar.sort-lines", | ||
"usernamehw.errorlens", | ||
"wmaurer.change-case" | ||
], | ||
"settings": { | ||
"terminal.integrated.defaultProfile.linux": "pwsh", | ||
"vale.valeCLI.path": "", | ||
"vale.valeCLI.config": "" | ||
} | ||
} | ||
}, | ||
"postStartCommand": "vale sync" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters