mirror of
https://github.com/bspeice/speice.io
synced 2024-12-22 00:28:10 -05:00
Add .devcontainer/vale support
This commit is contained in:
parent
abfc1496f1
commit
95044631f5
6
.devcontainer/Dockerfile
Normal file
6
.devcontainer/Dockerfile
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
FROM mcr.microsoft.com/vscode/devcontainers/ruby:0-2.7-bullseye
|
||||||
|
|
||||||
|
RUN wget https://github.com/errata-ai/vale/releases/download/v2.21.0/vale_2.21.0_Linux_64-bit.tar.gz -O /tmp/vale.tar.gz \
|
||||||
|
&& cd /usr/local/bin \
|
||||||
|
&& tar xf /tmp/vale.tar.gz \
|
||||||
|
&& rm /tmp/vale.tar.gz
|
13
.devcontainer/devcontainer.json
Normal file
13
.devcontainer/devcontainer.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||||
|
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.0/containers/ruby
|
||||||
|
{
|
||||||
|
"name": "Ruby",
|
||||||
|
"build": {
|
||||||
|
"dockerfile": "Dockerfile"
|
||||||
|
},
|
||||||
|
"runArgs": ["--userns=keep-id"],
|
||||||
|
|
||||||
|
"remoteUser": "vscode",
|
||||||
|
"containerUser": "vscode",
|
||||||
|
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,Z"
|
||||||
|
}
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,4 +4,5 @@ _site/
|
|||||||
.jekyll-metadata
|
.jekyll-metadata
|
||||||
.bundle/
|
.bundle/
|
||||||
vendor/
|
vendor/
|
||||||
|
.styles/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
Loading…
Reference in New Issue
Block a user