Files
2023-12-02 15:23:33 +00:00

30 lines
998 B
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/ubuntu
{
"name": "Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers-contrib/features/doctoolchain-sdkman:2": {
"version" : "3.1.2",
"jdkVersion": "17"
},
"ghcr.io/devcontainers-contrib/features/http-server:1": {}
},
"postCreateCommand": "curl -Lo dtcw https://doctoolchain.org/dtcw && chmod +x dtcw",
"remoteUser": "vscode",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,Z",
"workspaceFolder": "/workspace",
"runArgs": ["--userns=keep-id"],
"containerUser": "vscode",
"customizations": {
"vscode": {
"extensions": [
"asciidoctor.asciidoctor-vscode"
]
}
}
}