File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "name" : " Observable Framework Python starter" ,
33 "image" : " mambaorg/micromamba:alpine3.19" ,
44 "features" : {
5- "ghcr.io/cirolosapio/devcontainers-features/alpine-git:0" : {},
65 "ghcr.io/cirolosapio/devcontainers-features/alpine-node:0" : {
76 "globalPackages" : " @devcontainers/cli" // remove in prod
87 },
9- "ghcr.io/cirolosapio/devcontainers-features/alpine-docker-outside-of-docker:0" : {} // remove in prod
8+ "ghcr.io/cirolosapio/devcontainers-features/alpine-docker-outside-of-docker:0" : {}, // remove in prod
9+ "ghcr.io/devcontainers-contrib/features/bash-command:1" : {
10+ "command" : " apk update && apk add coreutils && apk add git"
11+ }
12+
1013 },
1114
12- "remoteUser" : " root" , // run as root when in prod
15+ // "remoteUser": "root", // run as root when in prod
1316
1417 "remoteEnv" : {
1518 "target_repo" : " https://github.com/dleeftink/observable-python-codespace.git" ,
2730 // "onCreateCommand": "echo 'Please wait for live pane ...' | sudo tee /usr/local/etc/vscode-dev-containers/first-run-notice.txt",
2831 // "waitFor": "updateContentCommand",
2932
30- // needs explicit bash because of Alpine ash default
33+ // to do: env.yaml
34+ "onCreateCommand" : " bash -c 'eval \" $(micromamba shell hook --shell bash)\" && micromamba activate && micromamba install python -c conda-forge -y'" ,
3135 "postCreateCommand" : " source .devcontainer/setup.sh" ,
32-
36+
3337 "postAttachCommand" : {
3438 // "serve": "bash -c 'eval \"$(micromamba shell hook -s bash )\" && micromamba activate base && npm run get && npm run obs'"
3539 },
You can’t perform that action at this time.
0 commit comments