File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 },
88 // "ghcr.io/cirolosapio/devcontainers-features/alpine-docker-outside-of-docker:0": {}, // remove in prod
99 "ghcr.io/devcontainers-contrib/features/bash-command:1" : {
10- "command" : " apk update && apk add coreutils && apk add git"
10+ "command" : " apk update && apk add coreutils && apk add git && apk upgrade wget "
1111 }
1212
1313 },
2828 }
2929 },
3030
31- "onCreateCommand" : " echo 'Please wait for live pane ...'" ,
32- "updateContentCommand" : " wget -P .devcontainer \" $source_file\" -nc" , // issue: blocks further commands if exists
33- "postCreateCommand" : " source .devcontainer/setup.sh" ,
31+ "onCreateCommand" : " echo 'Please wait for live pane ...' && [ ! -f .devcontainer/$(basename \" $source_file \" ) ] && wget -P .devcontainer \" $source_file \" || exit 0 " , // todo: more succint check for setup file
32+ // "updateContentCommand": "wget -q - P .devcontainer \"$source_file\" -nc > /dev/null 2>&1",
33+ "postCreateCommand" : " chmod +x .devcontainer/setup.sh && .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