-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
53 lines (44 loc) · 1.83 KB
/
devcontainer.json
File metadata and controls
53 lines (44 loc) · 1.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// 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": "Debian",
"name": "Ubuntu 22", // actually a key ? lol
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// https://containers.dev/templates
/**
image or build file --------------
code labs/git_readme_devcontainers.md
devcontainer build --workspace-folder . --image-name jchan48h/devcontainer:dev
*/
// "image": "mcr.microsoft.com/devcontainers/base:bullseye", // debian 11... old
// "image": "mcr.microsoft.com/devcontainers/base:ubuntu", //jammy 22.04... newer than bulleyes
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
//---------------------------------
// Features to add to the dev container. More info: https://containers.dev/features.
// builds too slow
"features": {
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
/* https://github.com/devcontainers-contrib/features/tree/main/src/zsh-plugins */
"version": "0.0.^4",
/* https://github.com/zsh-users */
"plugins": "zsh-autosuggestions zsh-syntax-highlighting zsh-completions",
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting https://github.com/zsh-users/zsh-completions"
// "ghcr.io/devcontainers/features/sshd:1":"1.0.^9"
}
/* default for tini init : false */
// "init":false,
// "privileged":false
/**
mounts
*/
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
}