Skip to content

Commit 2d76110

Browse files
authored
switch from common-utils feature to bash-config (#216)
Use Richard Cunningham's lightweight bash-config feature instead of common utils. The rebuild container overhead for this is approx 10 secs as opposed to 40-60 secs according to #208 (comment) See below for details on what this feature does https://github.com/DiamondLightSource/devcontainer-features/blob/main/.devcontainer/features/bash-config/README.md
2 parents 36eb592 + 22bbc45 commit 2d76110

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
}
2929
},
3030
"features": {
31-
// Some default things like git config
32-
"ghcr.io/devcontainers/features/common-utils:2": {
33-
"upgradePackages": false
34-
}
31+
// add in eternal history and other bash features
32+
"ghcr.io/diamondlightsource/devcontainer-features/bash-config:1.0.0": {}
3533
},
34+
// Create the config folder for the bash-config feature
35+
"initializeCommand": "mkdir -p ${localEnv:HOME}/.config/bash-config",
3636
"runArgs": [
3737
// Allow the container to access the host X11 display and EPICS CA
3838
"--net=host",

0 commit comments

Comments
 (0)