spiegel-keyman/docs/settings/linux/.devcontainer/devcontainer.json
Eberhard Beilharz 2a14ffdaa1
docs(linux): Add use of Dev Containers to sample settings
The Dev Containers vscode extension allows to run the unit tests in a container.
This is especially helpful when running on Ubuntu 22.04 where running the tests
on the host exits ibus when the tests exit, disabling any keyboard input.
2022-10-18 10:25:32 +02:00

23 lines
878 B
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.245.2/containers/ubuntu
{
"name": "Ubuntu",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04
// Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon.
"args": { "VARIANT": "ubuntu-22.04" }
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {
"python": "os-provided"
}
}