Skip to content

Instantly share code, notes, and snippets.

@royratcliffe
Last active April 23, 2024 07:38
Show Gist options
  • Save royratcliffe/397f56362900db3ba5a7cf773d13b739 to your computer and use it in GitHub Desktop.
Save royratcliffe/397f56362900db3ba5a7cf773d13b739 to your computer and use it in GitHub Desktop.
// 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/rocker-org/devcontainer-features/apt-packages:1": {
"upgradePackages": true,
"packages": ""
}
}
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// 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",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+k ctrl+alt+s",
"command": "git.stageSelectedRanges"
},
{
"key": "ctrl+k ctrl+alt+s",
"command": "-git.stageSelectedRanges",
"when": "isInDiffEditor && !operationInProgress"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment