46 lines
1.6 KiB
JSON
46 lines
1.6 KiB
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
|
|
{
|
|
"name": "lev-templates",
|
|
|
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
// "image": "docker.io/ldericher/autodoc:diagram",
|
|
"build": { "dockerfile": "Dockerfile" },
|
|
|
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/common-utils:2": {
|
|
"configureZshAsDefaultShell": "true"
|
|
},
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers-contrib/features/git-lfs:1": {},
|
|
"ghcr.io/devcontainers-extra/features/apt-get-packages:1": {
|
|
"packages": "pdftk,poppler-utils"
|
|
}
|
|
},
|
|
|
|
// Ensure git is installed before git-lfs
|
|
"overrideFeatureInstallOrder": [
|
|
"ghcr.io/devcontainers/features/common-utils",
|
|
"ghcr.io/devcontainers/features/git"
|
|
],
|
|
|
|
// Configure tool-specific properties.
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"Gruntfuggly.todo-tree",
|
|
"mhutchie.git-graph",
|
|
"timonwong.shellcheck"
|
|
]
|
|
}
|
|
},
|
|
|
|
"postCreateCommand": "sudo /opt/texlive/texdir/bin/default/texconfig rehash",
|
|
|
|
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
|
"remoteUser": "vscode"
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
// "forwardPorts": [],
|
|
}
|