Skip to content

Commit 2564727

Browse files
committed
refactor: clean up devcontainer configuration by commenting out unused build settings and updating postCreateCommand
1 parent 5dfef63 commit 2564727

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"name": "Release - Universal - Quarto Codespaces",
3-
// "build": {
4-
// "dockerfile": "Dockerfile",
5-
// "context": ".",
6-
// "args": {
7-
// "IMAGE": "mcr.microsoft.com/devcontainers/universal:latest"
8-
// }
9-
// },
103
"image": "mcr.microsoft.com/devcontainers/universal:latest",
114
"remoteUser": "codespace",
125
"features": {
6+
"ghcr.io/rocker-org/devcontainer-features/r-rig:1": {
7+
"version": "latest"
8+
},
139
"ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {
1410
"version": "release",
1511
"installTinyTex": "true"
@@ -21,14 +17,13 @@
2117
"packages": "renv,languageserver"
2218
}
2319
},
24-
"postCreateCommand": "uv sync && uv pip install jupyter papermill && R -e \"renv::install()\"",
20+
"postCreateCommand": "set -e && uv pip install . && uv pip install jupyter papermill && R -e \"renv::install()\"",
2521
"customizations": {
2622
"vscode": {
2723
"extensions": [
2824
"quarto.quarto",
2925
"REditorSupport.r",
30-
// "ms-python.python",
31-
"astral-sh.ty",
26+
"astral-sh.uv",
3227
"charliermarsh.ruff",
3328
"ms-toolsai.jupyter",
3429
"Posit.air-vscode"

0 commit comments

Comments
 (0)