mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 13:38:27 -04:00
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
// 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.202.5/containers/ubuntu
|
|
{
|
|
"name": "jarv.is",
|
|
"runArgs": ["--init"],
|
|
"build": {
|
|
"dockerfile": "Dockerfile",
|
|
// Update 'VARIANT' to pick an Ubuntu version: hirsute, focal, bionic
|
|
// Use hirsute or bionic on local arm64/Apple Silicon.
|
|
"args": { "VARIANT": "hirsute" }
|
|
},
|
|
"features": {
|
|
"git": "os-provided",
|
|
"github-cli": "latest",
|
|
"node": "16"
|
|
},
|
|
|
|
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode",
|
|
|
|
// Use 'postCreateCommand' to run commands after the container is created.
|
|
"postStartCommand": "yarn install --frozen-lockfile && git update-index --assume-unchanged data/manifest.json",
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [1337],
|
|
|
|
"portsAttributes": {
|
|
"1337": {
|
|
"label": "Webpack"
|
|
}
|
|
},
|
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
"settings": {
|
|
"terminal.integrated.shell.linux": "/bin/zsh"
|
|
},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
"extensions": [
|
|
"editorconfig.editorconfig",
|
|
"budparr.language-hugo-vscode",
|
|
"dbaeumer.vscode-eslint",
|
|
"davidanson.vscode-markdownlint",
|
|
"esbenp.prettier-vscode",
|
|
"stylelint.vscode-stylelint",
|
|
"ms-vscode.wordcount"
|
|
]
|
|
}
|