-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
39 lines (38 loc) · 1.63 KB
/
Copy pathdevcontainer.json
File metadata and controls
39 lines (38 loc) · 1.63 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
{
"name": "go-docker (shared dev-container)",
"image": "esacteksab/dev-container:latest",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
"mounts": [
"source=${localEnv:HOME}/.gitconfig,target=/root/.gitconfig,type=bind,readonly",
"source=go-docker-gh-config,target=/root/.config/gh,type=volume",
"source=${localEnv:HOME}/.config/gh/hosts.yml,target=/root/.config/gh/hosts.yml,type=bind,readonly",
"source=go-docker-node_modules,target=${containerWorkspaceFolder}/node_modules,type=volume",
"source=go-docker-zshhistory,target=/commandhistory,type=volume"
],
"postCreateCommand": "python3 -m venv --clear .venv && .venv/bin/python -m pip install -r requirements.txt && .venv/bin/python -m pre_commit install --install-hooks && gh extension install esacteksab/gh-actlock || true && gh extension install esacteksab/gh-tp || true && gh extension install seachicken/gh-poi || true",
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"python.defaultInterpreterPath": "${containerWorkspaceFolder}/.venv/bin/python"
},
"extensions": [
"ms-vscode-remote.remote-containers",
"golang.go",
"ms-python.python",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"casualjim.gotemplate",
"tamasfe.even-better-toml",
"bradlc.vscode-tailwindcss",
"redhat.vscode-yaml",
"timonwong.shellcheck",
"emeraldwalk.RunOnSave"
]
}
}
}