-
-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathdevcontainer.json
More file actions
47 lines (47 loc) · 1.42 KB
/
devcontainer.json
File metadata and controls
47 lines (47 loc) · 1.42 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
{
"name": "Python Translation Devcontainer",
"image": "python:3.12-slim",
"customizations": {
"vscode": {
"extensions": [
"eamodio.gitlens",
"github.vscode-pull-request-github",
"github.vscode-github-actions",
"redhat.vscode-yaml",
"gettext.gettext",
"restructuredtext.restructuredtext"
],
"settings": {
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
},
"python.defaultInterpreterPath": "/usr/local/bin/python3",
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/bin/zsh"
}
},
"terminal.integrated.env.linux": {
"ZSH": "/bin/zsh"
}
}
}
},
"features": {
"ghcr.io/devcontainers/features/git:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/common-utils:2": {}
},
"workspaceFolder": "/python-docs-el",
"workspaceMount": "source=${localWorkspaceFolder},target=/python-docs-el,type=bind,consistency=cached",
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y hunspell hunspell-el && pip install -r ./requirements.txt",
"mounts": [
"source=pip-cache,target=/home/translator/.cache/pip,type=volume"
],
"remoteUser": "translator"
}