Skip to content

Commit cbe3f9e

Browse files
committed
mod: devcontainer
Signed-off-by: Shunsuke Kimura <[email protected]>
1 parent 614b2b3 commit cbe3f9e

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.devcontainer/devcontainer.json

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
{
22
"name": "typst-jp-documentation",
3-
"build": {
4-
"dockerfile": "Dockerfile",
5-
"context": ".."
6-
},
7-
"remoteUser": "typst-jp",
8-
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
9-
"workspaceFolder": "/workspace",
10-
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
11-
"postStartCommand": "bun install --frozen-lockfile && cargo test --package typst-docs --lib -- tests::test_docs --exact --nocapture && python3 ./gen.py && python3 -m http.server -d dist"
3+
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
4+
"features": {
5+
"ghcr.io/devcontainers-extra/features/mise:1": {}
6+
}
7+
// "build": {
8+
// "dockerfile": "Dockerfile",
9+
// "context": ".."
10+
// },
11+
// "image": "jdxcode/mise:2025.5.6",
12+
// "remoteUser": "typst-jp",
13+
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
14+
// "workspaceFolder": "/workspace",
15+
// "postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
16+
// "postStartCommand": "bun install --frozen-lockfile && cargo test --package typst-docs --lib -- tests::test_docs --exact --nocapture && python3 ./gen.py && python3 -m http.server -d dist"
1217
}

0 commit comments

Comments
 (0)