File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "image" : " mambaorg/micromamba:alpine3.19" ,
44 "features" : {
55 "ghcr.io/cirolosapio/devcontainers-features/alpine-node:0" : {
6- "globalPackages" : " @devcontainers/cli" // remove in prod
6+ // "globalPackages": "@devcontainers/cli" // remove in prod
77 },
8- "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
99 "ghcr.io/devcontainers-contrib/features/bash-command:1" : {
1010 "command" : " apk update && apk add coreutils && apk add git"
1111 }
1212
1313 },
1414
1515 // "remoteUser": "root", // run as root when in prod
16-
16+
1717 "remoteEnv" : {
1818 "target_repo" : " https://github.com/dleeftink/observable-python-codespace.git" ,
19+ "source_file" : " https://raw.githubusercontent.com/dleeftink/observable-python-codespace/main/.devcontainer/setup.sh" ,
1920 "$MAMBA_ROOT_PREFIX" : " /opt/conda"
2021 },
2122
2728 }
2829 },
2930
30- "onCreateCommand" : " echo 'Please wait for live pane ...'" ,
31- // "waitFor": "updateContentCommand",
32-
31+ "onCreateCommand" : " echo 'Please wait for live pane ...'" ,
32+ "updateContentCommand" : " wget -P .devcontainer \" $source_file\" -nc" , // issue: blocks further commands if exists
3333 "postCreateCommand" : " source .devcontainer/setup.sh" ,
3434
3535 "postAttachCommand" : {
36- "serve" : " npm run dep && npm run dev"
36+ // "serve": "npm run dep && npm run dev"
3737 },
3838
3939 "customizations" : {
You can’t perform that action at this time.
0 commit comments