debian-forge/.devcontainer/devcontainer.json
Christian Kellner 1f86a2156d 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.
2021-04-08 12:56:06 +02:00

31 lines
743 B
JSON

{
"name": "osbuild",
"build": {
"dockerfile": "Dockerfile",
"context": "..",
},
"mounts": [
"source=osbuild-share,target=/root/.local/share,type=volume"
],
"runArgs": [
"--privileged"
],
"settings": {
"terminal.integrated.shell.linux": "/bin/fish",
"python.pythonPath": "/usr/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pyTestEnabled": true,
"python.testing.pyTestArgs": [
"test"
]
},
"extensions": [
"editorconfig.editorconfig",
"laurenttreguier.rpm-spec",
"ms-python.python",
"ms-python.vscode-pylance"
]
}