devcontainer: preserve history
Use a separate volume for /root/.local/share, which is where the fish shell keeps its history file, in order to preserve it across container rebuilds.
This commit is contained in:
parent
65cf620d4b
commit
1f86a2156d
1 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,9 @@
|
|||
"dockerfile": "Dockerfile",
|
||||
"context": "..",
|
||||
},
|
||||
"mounts": [
|
||||
"source=osbuild-share,target=/root/.local/share,type=volume"
|
||||
],
|
||||
"runArgs": [
|
||||
"--privileged"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue