-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
69 lines (61 loc) · 1.65 KB
/
Copy pathdevcontainer.json
File metadata and controls
69 lines (61 loc) · 1.65 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// SPDX-License-Identifier: MPL-2.0
// Copyright (c) 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
//
// Dev Container configuration for a2ml-pre-commit
// Works with: VS Code Dev Containers, GitHub Codespaces, Gitpod
// Container runtime: Podman (recommended) or any OCI-compliant runtime
{
"name": "a2ml-pre-commit",
"build": {
"dockerfile": "Containerfile",
"context": ".."
},
"features": {
"ghcr.io/devcontainers/features/git:1": {
"ppa": false,
"version": "latest"
},
"ghcr.io/jdx/devcontainer-features/just:1": {},
"ghcr.io/nickel-lang/devcontainer-feature:0": {}
},
"postCreateCommand": "just deps",
"remoteUser": "nonroot",
"containerEnv": {
"EDITOR": "code --wait",
"LANG": "C.UTF-8"
},
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig",
"eamodio.gitlens",
"streetsidesoftware.code-spell-checker",
"timonwong.shellcheck",
"tamasfe.even-better-toml",
"skellock.just",
"redhat.vscode-yaml",
"DavidAnson.vscode-markdownlint",
"asciidoctor.asciidoctor-vscode",
"usernamehw.errorlens"
],
"settings": {
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"[makefile]": {
"editor.insertSpaces": false
}
}
},
"codespaces": {
"openFiles": [
"README.adoc"
]
}
},
"forwardPorts": [],
"shutdownAction": "stopContainer"
}