Skip to content

Commit c4fd7df

Browse files
authored
Update devImage.jsonc
1 parent 345ab25 commit c4fd7df

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/devImage.jsonc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@
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

@@ -27,13 +28,12 @@
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": {

0 commit comments

Comments
 (0)