Skip to content

Commit 8a7922b

Browse files
authored
Merge pull request #70944 from gabriel-rh/codespace-devcontainer-settings
Improve default settings for codespaces
2 parents 9d952a9 + 3c111cb commit 8a7922b

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
22
"image":"mcr.microsoft.com/devcontainers/universal:2",
3-
"postCreateCommand": "sleep 30 && docker run --rm -it -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder sh -c \"git config --global --add safe.directory /docs && asciibinder build --distro openshift-rosa && asciibinder build --distro openshift-enterprise\" && python3 -m http.server -d ./_preview"
4-
}
3+
"postCreateCommand": "sleep 30 && docker run --rm -it -v `pwd`:/docs:Z quay.io/openshift-cs/asciibinder sh -c \"git config --global --add safe.directory /docs && asciibinder build --distro openshift-rosa && asciibinder build --distro openshift-enterprise\" && python3 -m http.server -d ./_preview",
4+
"customizations": {
5+
"vscode": {
6+
"settings": {
7+
"search.followSymlinks": false,
8+
"workbench.editor.enablePreview": false
9+
},
10+
"extensions": [
11+
"asciidoctor.asciidoctor-vscode"
12+
]
13+
}
14+
}
15+
}

0 commit comments

Comments
 (0)