-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdevcontainer.json
More file actions
51 lines (51 loc) · 2.17 KB
/
devcontainer.json
File metadata and controls
51 lines (51 loc) · 2.17 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
"name": "Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
// Features to add to the dev container.
// More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/git-lfs:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"version": "latest"
},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.9"
},
"ghcr.io/devcontainers/features/go:1": {
"version": "1.25"
}
},
"remoteUser": "vscode",
// Use 'postCreateCommand' to run commands after the container is created.
// Don't overwrite program.gpg here because `postCreateCommand` is executed
// before .gitconfig is copied over from the host system to the container.
// See https://github.com/microsoft/vscode-remote-release/issues/6810#issuecomment-1153597718
// and https://github.com/microsoft/vscode-remote-release/issues/6810#issuecomment-1159354677
// "postCreateCommand": "git config --global program.gpg $(which gpg)",
"postStartCommand": ".devcontainer/post-start.sh",
"postAttachCommand": ".devcontainer/post-attach.sh",
"postCreateCommand": ".devcontainer/post-create.sh",
"customizations": {
"vscode": {
"extensions": [
// Keep in sync with .vscode/extensions.json
"golang.go",
"GitHub.copilot",
"ms-python.python",
"github.vscode-github-actions",
"eamodio.gitlens",
"shd101wyy.markdown-preview-enhanced",
"Actionforge.actionforge"
]
}
},
"workspaceFolder": "/workspaces/actrun",
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/Desktop,target=/home/vscode/Desktop,type=bind,consistency=consistent",
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=consistent"
]
}