Skip to content

Commit 4e6e7bb

Browse files
authored
Update devImage.jsonc
1 parent e9289e9 commit 4e6e7bb

1 file changed

Lines changed: 48 additions & 48 deletions

File tree

.github/devImage.jsonc

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
11
{
2-
"name": "Observable Framework Python starter",
3-
"image": "mambaorg/micromamba:alpine3.19",
4-
"features": {
5-
"ghcr.io/cirolosapio/devcontainers-features/alpine-git:0": {},
6-
"ghcr.io/cirolosapio/devcontainers-features/alpine-node:0": {
7-
"globalPackages": "@devcontainers/cli", // remove in prod
2+
"name": "Observable Framework Python starter",
3+
"image": "mambaorg/micromamba:alpine3.19",
4+
"features": {
5+
"ghcr.io/cirolosapio/devcontainers-features/alpine-git:0": {},
6+
"ghcr.io/cirolosapio/devcontainers-features/alpine-node:0": {
7+
"globalPackages": "@devcontainers/cli" // remove in prod
8+
},
9+
"ghcr.io/cirolosapio/devcontainers-features/alpine-docker-outside-of-docker:0": {} // remove in prod
810
},
9-
"ghcr.io/cirolosapio/devcontainers-features/alpine-docker-outside-of-docker:0": {}, // remove in prod
10-
},
11-
12-
"remoteUser": "root", // run as root when in prod
13-
14-
"remoteEnv": {
15-
"target_repo": "https://github.com/dleeftink/observable-python-codespace.git",
16-
"$MAMBA_ROOT_PREFIX": "/home/mamba",
17-
},
18-
19-
"forwardPorts": [3000],
20-
"portsAttributes": {
21-
"3000": {
22-
"label": "Live preview",
23-
"onAutoForward": "openPreview",
11+
12+
"remoteUser": "root", // run as root when in prod
13+
14+
"remoteEnv": {
15+
"target_repo": "https://github.com/dleeftink/observable-python-codespace.git",
16+
"$MAMBA_ROOT_PREFIX": "/opt/conda"
2417
},
25-
},
26-
27-
// "onCreateCommand": "echo 'Please wait for live pane ...' | sudo tee /usr/local/etc/vscode-dev-containers/first-run-notice.txt",
28-
// "waitFor": "updateContentCommand",
29-
30-
// needs explicit bash because of Alpine ash default
31-
"postCreateCommand": "bash -c 'source ./.devcontainer/setup.sh'",
32-
33-
"postAttachCommand": {
34-
"serve": "bash -c 'eval \"$(micromamba shell hook -s bash )\" && micromamba activate base && npm run get && npm run obs'",
35-
},
36-
37-
// Configure tool-specific properties.
38-
"customizations": {
39-
"vscode": {
40-
"extensions": ["ms-azuretools.vscode-docker"],
41-
42-
"settings": {
43-
"terminal.integrated.defaultProfile.linux": "bash",
44-
"terminal.integrated.profiles.linux": {
45-
"bash": {
46-
"path": "/bin/bash",
47-
},
48-
},
49-
},
18+
19+
"forwardPorts": [3000],
20+
"portsAttributes": {
21+
"3000": {
22+
"label": "Live preview",
23+
"onAutoForward": "openPreview"
24+
}
25+
},
26+
27+
// "onCreateCommand": "echo 'Please wait for live pane ...' | sudo tee /usr/local/etc/vscode-dev-containers/first-run-notice.txt",
28+
// "waitFor": "updateContentCommand",
29+
30+
// needs explicit bash because of Alpine ash default
31+
"postCreateCommand": "source .devcontainer/setup.sh",
32+
33+
"postAttachCommand": {
34+
//"serve": "bash -c 'eval \"$(micromamba shell hook -s bash )\" && micromamba activate base && npm run get && npm run obs'"
5035
},
51-
},
52-
}
36+
37+
// Configure tool-specific properties.
38+
"customizations": {
39+
"vscode": {
40+
"extensions": ["ms-azuretools.vscode-docker"]/*,
41+
42+
"settings": {
43+
"terminal.integrated.defaultProfile.linux": "bash",
44+
"terminal.integrated.profiles.linux": {
45+
"bash": {
46+
"path": "/bin/bash"
47+
}
48+
}
49+
}*/
50+
}
51+
}
52+
}

0 commit comments

Comments
 (0)