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:
Christian Kellner 2021-04-07 13:32:22 +00:00
parent 65cf620d4b
commit 1f86a2156d

View file

@ -4,6 +4,9 @@
"dockerfile": "Dockerfile",
"context": "..",
},
"mounts": [
"source=osbuild-share,target=/root/.local/share,type=volume"
],
"runArgs": [
"--privileged"
],