Skip to content

Commit

Permalink
Merge pull request #6 from DiamondLightSource/bash-config
Browse files Browse the repository at this point in the history
put features and initialise adjacent for clarity
  • Loading branch information
gilesknap authored Nov 28, 2024
2 parents c78720c + a342bef commit 457ddf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
"features": {
"./features/bash-config": {}
},
// Create the config folder for the bash-config feature
"initializeCommand": "mkdir -p ${localEnv:HOME}/.config/bash-config",
"runArgs": [
// Allow the container to access the host X11 display and EPICS CA
"--net=host",
Expand All @@ -34,7 +36,5 @@
],
// Mount the parent as /workspaces so we can pip install peers as editable
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind",
// Create the config folder for the bash-config feature
"initializeCommand": "mkdir -p ${localEnv:HOME}/.config/bash-config",
"remoteUser": "root"
}

0 comments on commit 457ddf5

Please sign in to comment.